From b379f8457de1f18d44eae829323f74c3c4916345 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Fri, 27 Oct 2023 16:46:56 +0200 Subject: [PATCH] Fix simulator double activation while tnt still present --- .../bausystem/features/simulator/data/tnt/TNTPhase.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/data/tnt/TNTPhase.java b/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/data/tnt/TNTPhase.java index 7583834b..34ae0572 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/data/tnt/TNTPhase.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/data/tnt/TNTPhase.java @@ -69,6 +69,11 @@ public final class TNTPhase extends SimulatorPhase { tnt.setFuseTicks(lifetime); } }); + tickEnd.accept(tickOffset + lifetime, new SimulatorAction(0, 1) { + @Override + public void accept(World world) { + } + }); } @Override