From 6192fd98c79dad7e47b8b361441340368a03407d Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 16 Jun 2022 22:25:00 +0200 Subject: [PATCH] Hotfix SWCommand --- src/de/steamwar/command/SWCommand.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/de/steamwar/command/SWCommand.java b/src/de/steamwar/command/SWCommand.java index a9cf002..7b4067b 100644 --- a/src/de/steamwar/command/SWCommand.java +++ b/src/de/steamwar/command/SWCommand.java @@ -52,11 +52,7 @@ public class SWCommand extends AbstractSWCommand { } protected SWCommand(String command, String permission) { - super(CommandSender.class, command); - this.permission = permission; - createAndSafeCommand(command, new String[0]); - unregister(); - register(); + this(command, permission, new String[0]); } protected SWCommand(String command, String permission, String... aliases) {