25.06.2015, 19:34
What's the difference between registerGroup and registerChildGroup?
And why BeforeCheck don't works in code like this?
And why BeforeCheck don't works in code like this?
Код:
mainCommandGroup = new CommandGroup(); adminCommandGroup = new CommandGroup(); mainCommandGroup.registerCommands(new TDMCommands(playerLifecycleHolder)); adminCommandGroup.registerCommands(new AdminCommands(playerLifecycleHolder)); commandManager.registerGroup(mainCommandGroup); commandManager.registerGroup(adminCommandGroup);