From e999cbc2fbe7ddc5313f84139cfbcb1afe0b8254 Mon Sep 17 00:00:00 2001 From: jojo Date: Thu, 31 Dec 2020 13:06:04 +0100 Subject: [PATCH] Simplify SWCommand.register --- SpigotCore_Main/src/de/steamwar/command/SWCommand.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java index d6e7c4b..0faa1db 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java @@ -48,7 +48,6 @@ public class SWCommand { } } - private SWCommand instance; private Argument[] arguments; private BiConsumer executor; private boolean lastArgRepeatable = false; @@ -56,7 +55,6 @@ public class SWCommand { public SWCommand(BiConsumer executor, Argument... arguments) { this.executor = executor; this.arguments = arguments; - this.instance = this; } public SWCommand(BiConsumer executor, boolean lastArgRepeatable, Argument... arguments) {