3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-06 00:00:47 +01:00

Add stop command alias for ShutdownCommand

Fixes #678
Dieser Commit ist enthalten in:
Andrew Steinborn 2022-04-08 23:00:03 -04:00
Ursprung 2a39b24770
Commit d59d4505cb

Datei anzeigen

@ -209,7 +209,8 @@ public class VelocityServer implements ProxyServer, ForwardingAudience {
// Initialize commands first // Initialize commands first
commandManager.register("velocity", new VelocityCommand(this)); commandManager.register("velocity", new VelocityCommand(this));
commandManager.register("server", new ServerCommand(this)); commandManager.register("server", new ServerCommand(this));
commandManager.register("shutdown", ShutdownCommand.command(this), "end"); commandManager.register("shutdown", ShutdownCommand.command(this),
"end", "stop");
new GlistCommand(this).register(); new GlistCommand(this).register();
this.doStartupConfigLoad(); this.doStartupConfigLoad();