From f488c90fd0efe138d0b9cddba3c32134ec7f2c65 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 10 May 2022 10:07:57 +0200 Subject: [PATCH] Fix stuff --- src/de/steamwar/command/AbstractSWCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();