diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/util/PistonCalculator.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/util/PistonCalculator.java index 6bf9b0c9..5cc4b744 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/util/PistonCalculator.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/util/PistonCalculator.java @@ -57,6 +57,10 @@ public class PistonCalculator implements Listener { if (event.getAction() != Action.RIGHT_CLICK_BLOCK) return; if (event.getItem() == null) {} else if (event.getItem() != null && event.getItem().getType() == Material.SLIME_BALL) {} + else if (!event.getItem().getType().isBlock()) { + DEBOUNCE.put(event.getPlayer(), System.currentTimeMillis()); + return; + } else return; if (event.getClickedBlock() == null) return; Block clickedBlock = event.getClickedBlock();