mirror of
https://github.com/Minestom/Minestom.git
synced 2025-03-02 11:21:15 +01:00
Fix boolean argument
This commit is contained in:
parent
d7fec0297f
commit
14d0149276
@ -509,7 +509,6 @@ public final class CommandManager {
|
||||
DeclareCommandsPacket.Node argumentNode = simpleArgumentNode(nodes, argument, executable, false);
|
||||
|
||||
argumentNode.parser = "brigadier:bool";
|
||||
argumentNode.properties = packetWriter -> packetWriter.writeByte((byte) 0);
|
||||
} else if (argument instanceof ArgumentDouble) {
|
||||
DeclareCommandsPacket.Node argumentNode = simpleArgumentNode(nodes, argument, executable, false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user