diff --git a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java index 72cda65..ae31780 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java @@ -186,7 +186,7 @@ public abstract class SWCommand { }); } - protected void unregister() { + public void unregister() { SWCommandUtils.knownCommandMap.remove(command.getName()); for (String alias : command.getAliases()) { SWCommandUtils.knownCommandMap.remove(alias); @@ -194,7 +194,7 @@ public abstract class SWCommand { command.unregister(SWCommandUtils.commandMap); } - protected void register() { + public void register() { SWCommandUtils.commandMap.register("steamwar", this.command); }