From ee1a82b5d39ab8ca9836641aaeed475f59b97e5b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 27 Aug 2022 17:58:41 +0200 Subject: [PATCH] Fix ScriptExecutor Signed-off-by: yoyosource --- .../de/steamwar/bausystem/features/script/ScriptCommand.java | 1 - .../de/steamwar/bausystem/features/script/ScriptExecutor.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptCommand.java index e6fa0f49..ecf04036 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptCommand.java @@ -7,7 +7,6 @@ import de.steamwar.bausystem.linkage.LinkedInstance; import de.steamwar.command.SWCommand; import de.steamwar.inventory.SWItem; import de.steamwar.inventory.SWListInv; -import de.steamwar.sql.BauweltMember; import org.bukkit.Material; import org.bukkit.entity.Player; diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptExecutor.java b/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptExecutor.java index b1032c7c..afb80afb 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptExecutor.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptExecutor.java @@ -18,12 +18,12 @@ import java.util.logging.Level; public final class ScriptExecutor { + public static final Set SPECIAL_COMMANDS = new HashSet<>(); + static { LinkageUtils.run(LinkageType.SCRIPT_COMMAND); } - public static final Set SPECIAL_COMMANDS = new HashSet<>(); - private String specialCommand = null; @Getter