diff --git a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java index 14522e1..52b8da1 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java @@ -37,6 +37,10 @@ public abstract class SWCommand { private final Set tabCompleteSet = new HashSet<>(); private Consumer helpMessage = sender -> {}; + protected SWCommand(String command) { + this(command, new String[0]); + } + protected SWCommand(String command, String... aliases) { SWCommandUtils.commandMap.register("steamwar", new Command(command, "", "/" + command, Arrays.asList(aliases)) { @Override