12.07.2015, 19:44
(
Последний раз редактировалось DrumYum; 12.07.2015 в 22:34.
)
Nice to see fast update! Thank you developers!
Questions:
About same BeforeCheck problem:
BeforeCheck only in AdminCommands.
Questions:
About same BeforeCheck problem:
Код:
// ... private PlayerCommandManager commandManager; private CommandGroup mainCommandGroup; private CommandGroup adminCommandGroup; // ... commandManager = new PlayerCommandManager(eventManagerNode); commandManager.installCommandHandler(HandlerPriority.NORMAL); // ... mainCommandGroup = new CommandGroup(); adminCommandGroup = new CommandGroup(); mainCommandGroup.registerCommands(new TDMCommands(playerLifecycleHolder, eventManagerNode)); adminCommandGroup.registerCommands(new AdminCommands(playerLifecycleHolder)); commandManager.registerGroup(mainCommandGroup); commandManager.registerGroup(adminCommandGroup);