fix core tracked showing secret when output is empty

This commit is contained in:
Chayapak 2023-11-01 20:40:18 +07:00
parent 87a21bf2a9
commit 79b59a6685

View file

@ -225,7 +225,9 @@ public class CorePlugin extends PositionPlugin.Listener {
final List<Component> children = component.children();
if (children.size() != 2) return true;
if (children.size() > 2 || children.isEmpty()) return true;
if (children.size() == 1) return false;
final int transactionId = Integer.parseInt(((TextComponent) children.get(0)).content());