From f0e125877080a5c2aacd076e74860abbbdeb630a Mon Sep 17 00:00:00 2001 From: RedstoneFuture Date: Sun, 5 Feb 2023 20:54:46 +0100 Subject: [PATCH] Reworking command tab-completion system --- .../src/main/java/de/butzlabben/missilewars/MissileWars.java | 2 +- .../java/de/butzlabben/missilewars/commands/MWCommands.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/missilewars-plugin/src/main/java/de/butzlabben/missilewars/MissileWars.java b/missilewars-plugin/src/main/java/de/butzlabben/missilewars/MissileWars.java index c87afa91..823747ad 100644 --- a/missilewars-plugin/src/main/java/de/butzlabben/missilewars/MissileWars.java +++ b/missilewars-plugin/src/main/java/de/butzlabben/missilewars/MissileWars.java @@ -170,7 +170,7 @@ private void registerCommands() { commandManager.registerCommand(new UserCommands()); commandManager.registerCommand(new SetupCommands()); } - + /** * This method checks if FAWE (FastAsyncWorldEdit) is installed. * diff --git a/missilewars-plugin/src/main/java/de/butzlabben/missilewars/commands/MWCommands.java b/missilewars-plugin/src/main/java/de/butzlabben/missilewars/commands/MWCommands.java index cc86a78e..29edb6ba 100644 --- a/missilewars-plugin/src/main/java/de/butzlabben/missilewars/commands/MWCommands.java +++ b/missilewars-plugin/src/main/java/de/butzlabben/missilewars/commands/MWCommands.java @@ -66,7 +66,7 @@ public void mwCommand(CommandSender sender) { sendHelpMessage(sender, "mw.debug", "/mw debug", "Show debug info."); sendHelpMessage(sender, "mw.restartall", "/mw restartall", "Restart all games."); - sendHelpMessage(sender, "mw.setup", "/mw setup [lobby]", "Setup the MW Locations or the lobby/arena locations."); + sendHelpMessage(sender, "mw.setup", "/mw setup [lobby]", "Setup the MW locations or the lobby/arena locations."); } @Subcommand("listgames|list|games")