fix core tracked showing secret when output is empty
This commit is contained in:
parent
87a21bf2a9
commit
79b59a6685
1 changed files with 3 additions and 1 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue