Browse Source

Reworking command tab-completion system

RedstoneFuture 2 years ago
parent
commit
f0e1258770

+ 1 - 1
missilewars-plugin/src/main/java/de/butzlabben/missilewars/MissileWars.java

@@ -170,7 +170,7 @@ public class MissileWars extends JavaPlugin {
         commandManager.registerCommand(new UserCommands());
         commandManager.registerCommand(new UserCommands());
         commandManager.registerCommand(new SetupCommands());
         commandManager.registerCommand(new SetupCommands());
     }
     }
-    
+
     /**
     /**
      * This method checks if FAWE (FastAsyncWorldEdit) is installed.
      * This method checks if FAWE (FastAsyncWorldEdit) is installed.
      *
      *

+ 1 - 1
missilewars-plugin/src/main/java/de/butzlabben/missilewars/commands/MWCommands.java

@@ -66,7 +66,7 @@ public class MWCommands extends BaseCommand {
         sendHelpMessage(sender, "mw.debug", "/mw debug", "Show debug info.");
         sendHelpMessage(sender, "mw.debug", "/mw debug", "Show debug info.");
         sendHelpMessage(sender, "mw.restartall", "/mw restartall", "Restart all games.");
         sendHelpMessage(sender, "mw.restartall", "/mw restartall", "Restart all games.");
 
 
-        sendHelpMessage(sender, "mw.setup", "/mw setup <main|lobby|arena> <value> <set|teleport> [lobby]", "Setup the MW Locations or the lobby/arena locations.");
+        sendHelpMessage(sender, "mw.setup", "/mw setup <main|lobby|arena> <value> <set|teleport> [lobby]", "Setup the MW locations or the lobby/arena locations.");
     }
     }
     
     
     @Subcommand("listgames|list|games")
     @Subcommand("listgames|list|games")