From 740d3cfb95468b5262a2a462b1ffaca3caee6a38 Mon Sep 17 00:00:00 2001 From: PsiRobot Date: Fri, 21 Apr 2023 16:45:24 +0000 Subject: [PATCH 1/2] Fix SkullCommand for Bedrock --- .../src/de/steamwar/bausystem/features/util/SkullCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/util/SkullCommand.java b/BauSystem_Main/src/de/steamwar/bausystem/features/util/SkullCommand.java index b8cce749..9bb2331d 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/util/SkullCommand.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/util/SkullCommand.java @@ -57,7 +57,7 @@ public class SkullCommand extends SWCommand { return new TypeMapper() { @Override public String map(CommandSender commandSender, PreviousArguments previousArguments, String s) { - if (s.endsWith("⍇")) return null; + if (s.startsWith(".")) return null; return s; } -- 2.39.5 From 8bc2fda2bab424d3670f75767f368dadd87dfa99 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Sun, 30 Apr 2023 14:22:59 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=E2=80=9EBauSystem=5FMain/src/de/steamwar/b?= =?UTF-8?q?ausystem/features/loader/Loader.java=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/de/steamwar/bausystem/features/loader/Loader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/loader/Loader.java b/BauSystem_Main/src/de/steamwar/bausystem/features/loader/Loader.java index 1a64a8af..6cba6fe9 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/loader/Loader.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/loader/Loader.java @@ -211,7 +211,7 @@ public class Loader implements Listener { } if (event.getPlayer().getInventory().getItemInMainHand().getType() == Material.TNT) { - return; + return; } LoaderButton button = LoaderButton.fromBlock(event.getClickedBlock()); -- 2.39.5