From 5d9b874d4e56f2845fdf928641a0b2bc760f12a5 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 7 May 2021 09:23:37 +0200 Subject: [PATCH] Remove SWCommand.inject --- SpigotCore_Main/src/de/steamwar/command/SWCommand.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java index 6c94f7a..7167bc7 100644 --- a/SpigotCore_Main/src/de/steamwar/command/SWCommand.java +++ b/SpigotCore_Main/src/de/steamwar/command/SWCommand.java @@ -168,16 +168,6 @@ public abstract class SWCommand { SWCommandUtils.commandMap.register("steamwar", this.command); } - public void inject(Plugin plugin) { - new BukkitRunnable() { - @Override - public void run() { - SWCommand.this.unregister(); - SWCommand.this.register(); - } - }.runTask(plugin); - } - @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD}) @Repeatable(Register.Registeres.class)