[FIX] Фикс HelpCommand

This commit is contained in:
Gravit 2019-04-13 07:44:29 +07:00
parent 9bdde2a727
commit bd44a55f6b
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -19,7 +19,7 @@ public static void registerCommands(ru.gravit.utils.command.CommandHandler handl
LaunchServer server = LaunchServer.server; LaunchServer server = LaunchServer.server;
BaseCommandCategory basic = new BaseCommandCategory(); BaseCommandCategory basic = new BaseCommandCategory();
// Register basic commands // Register basic commands
basic.registerCommand("help", new HelpCommand(server.commandHandler)); basic.registerCommand("help", new HelpCommand(handler));
basic.registerCommand("version", new VersionCommand(server)); basic.registerCommand("version", new VersionCommand(server));
basic.registerCommand("build", new BuildCommand(server)); basic.registerCommand("build", new BuildCommand(server));
basic.registerCommand("stop", new StopCommand(server)); basic.registerCommand("stop", new StopCommand(server));