From d936324b9510a8ba7ef80a4d84890724690cb6bb Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 4 Dec 2021 22:11:38 +0100 Subject: [PATCH] Hotfix Loadtimer Signed-off-by: yoyosource --- .../de/steamwar/bausystem/features/loadtimer/Loadtimer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/loadtimer/Loadtimer.java b/BauSystem_Main/src/de/steamwar/bausystem/features/loadtimer/Loadtimer.java index 6af89373..6601e494 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/loadtimer/Loadtimer.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/loadtimer/Loadtimer.java @@ -132,6 +132,9 @@ public class Loadtimer implements Listener { if (stage == Stage.COUNTING) { if (event.getAction() == Action.RIGHT_CLICK_BLOCK) { Material type = event.getClickedBlock().getType(); + if (type == Material.IRON_TRAPDOOR) { + return; + } if (type.name().contains("_BUTTON") || type == Material.LEVER || type.name().contains("_TRAPDOOR") || type == Material.NOTE_BLOCK) { setActivate(); }