Hello all.
I created two commands:
/grave (parent command);
/grave show [player] (child command).
Command “/show” working, although she is the child of the other command.
So it should be?
Watch files:
MainClass;
ParentCommand;
ChildCommand.
Hello all.
I created two commands:
/grave (parent command);
/grave show [player] (child command).
Command “/show” working, although she is the child of the other command.
So it should be?
Watch files:
MainClass;
ParentCommand;
ChildCommand.
Try not registering the child command to the CommandDispatcher.
I removed line #108 in MainClass:
game.getCommandDispatcher().register(this, graveShow, "show");
All perfectly.
@DotDash, thanks.