From bf0d41d43dc8d470e13524bb67d34385bfd3086a Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 22 Mar 2022 19:15:26 +0100 Subject: [PATCH] Update SWCommand --- SpigotCore_Main/src/de/steamwar/command/SWCommand.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java index 73934ce..2a55d59 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java @@ -51,6 +51,10 @@ public abstract class SWCommand { private Message message = null; private List defaultHelpMessages = new ArrayList<>(); + protected SWCommand(String command) { + this(command, new String[0]); + } + protected SWCommand(String command, String... aliases) { this.command = new Command(command, "", "/" + command, Arrays.asList(aliases)) { @Override