From b1328695a1a30c062d066ff564a9112fde668b3e Mon Sep 17 00:00:00 2001 From: yoyosource Date: Thu, 16 Jun 2022 22:24:16 +0200 Subject: [PATCH] Hotfix AbstractSWCommand --- src/de/steamwar/command/AbstractSWCommand.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/de/steamwar/command/AbstractSWCommand.java b/src/de/steamwar/command/AbstractSWCommand.java index f3a0d4b..d9a721f 100644 --- a/src/de/steamwar/command/AbstractSWCommand.java +++ b/src/de/steamwar/command/AbstractSWCommand.java @@ -45,12 +45,7 @@ public abstract class AbstractSWCommand { } protected AbstractSWCommand(Class clazz, String command, String... aliases) { - this(clazz, command, () -> {}, aliases); - } - - protected AbstractSWCommand(Class clazz, String command, Runnable initializer, String... aliases) { this.clazz = clazz; - initializer.run(); createAndSafeCommand(command, aliases); unregister(); register();