From 5b73ad91da578c91cace17d43abb4228aa74c74d Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 4 Sep 2021 14:38:16 +0200 Subject: [PATCH] Hotfix SmartPlaceListener Signed-off-by: yoyosource --- .../bausystem/features/smartplace/SmartPlaceListener.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/SmartPlaceListener.java b/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/SmartPlaceListener.java index 3bf1f33b..0c9e3997 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/SmartPlaceListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/smartplace/SmartPlaceListener.java @@ -84,6 +84,14 @@ public class SmartPlaceListener implements Listener { default: return; } + } else { + switch (event.getMaterial()) { + case REPEATER: + case COMPARATOR: + return; + default: + break; + } } event.setUseInteractedBlock(Event.Result.DENY);