17.03.2016, 19:01
How does the command priority(NOT command manager) work?
My task is various "/v thing" commands, but if there's no command I want to show help.
I tried both positive and negative priorities for the second command, no change. The second one is executed always. I do not change any priorities in the "vGroup" group commands.
My task is various "/v thing" commands, but if there's no command I want to show help.
Код:
commandManager.registerChildGroup(vGroup, "v");
commandManager.registerCommand("v", new Class[]{String.class}, null, null, (short)-1000, false, V_HELP_HANDLER, null, null, null);

