mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Temporary command node fix
This commit is contained in:
parent
2ee1470470
commit
93fa65f90b
@ -354,7 +354,7 @@ public final class CommandManager {
|
||||
final List<DeclareCommandsPacket.Node[]> storedNodes = storedArgumentsNodes.get(sharedArgument);
|
||||
|
||||
argChildren = new IntArrayList();
|
||||
lastNodes = storedNodes.get(index);
|
||||
lastNodes = storedNodes.get(storedNodes.size() > index ? index : i);
|
||||
foundSharedPart = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user