diff --git a/src/de/steamwar/command/AbstractSWCommand.java b/src/de/steamwar/command/AbstractSWCommand.java index fd371df..e1d953e 100644 --- a/src/de/steamwar/command/AbstractSWCommand.java +++ b/src/de/steamwar/command/AbstractSWCommand.java @@ -43,7 +43,7 @@ public abstract class AbstractSWCommand { this(clazz, command, new String[0]); } - protected AbstractSWCommand(Class clazz, String command, String[] aliases) { + protected AbstractSWCommand(Class clazz, String command, String... aliases) { this.clazz = clazz; createAndSafeCommand(command, aliases); unregister();