From f7440af50a9cfd2f1b9519181776191cc3c31cde Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 23 Dec 2022 23:02:38 +0100 Subject: [PATCH] Hotfix ScriptExecutor --- .../de/steamwar/bausystem/features/script/ScriptExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a5eb755e..1c50aa9d 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptExecutor.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/script/ScriptExecutor.java @@ -166,7 +166,7 @@ public final class ScriptExecutor { command = String.join(" ", strings); Bukkit.getLogger().log(Level.INFO, player.getName() + " dispatched command: " + command); - if (hasFAWE && WorldEditListener.isWorldEditCommand("/" + strings[0])) { + if (!strings[0].equals("select") && hasFAWE && WorldEditListener.isWorldEditCommand("/" + strings[0])) { EditSession editSession = WorldEditUtils.getEditSession(player.getWorld()); WorldEditUtils.addToPlayer(player, editSession); Actor actor = BukkitAdapter.adapt(player);