From 4fd26380408cf2869f207f7b48e2f4ea5b9c5ae1 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Tue, 15 Sep 2020 20:14:41 +0200 Subject: [PATCH] Fixed Lever Activation for 0 Ticks --- BauSystem_Main/src/de/steamwar/bausystem/world/Detonator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/Detonator.java b/BauSystem_Main/src/de/steamwar/bausystem/world/Detonator.java index 63643ce..955f556 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/Detonator.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/Detonator.java @@ -79,7 +79,7 @@ public class Detonator implements Listener { for (Detoloader.DetonatorActivation activation: getLocations()) { Boolean powered; - if(activation.activation == 0) switch (Core.getVersion()) { + if(activation.activation == -1) switch (Core.getVersion()) { case 15: powered = AutoLoader_15.getLever(activation.location.getBlock()); AutoLoader_15.setRedstone(activation.location, !powered); -- 2.39.2