From 7971350ad96f774cecf46834ebc368e742981509 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Tue, 8 Jul 2025 20:46:02 +0200 Subject: [PATCH] Update SimulatorPreviewTNT --- .../steamwar/bausystem/features/simulator/SimulatorCommand.java | 2 +- .../features/simulator/preview/SimulatorPreviewTNT.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/SimulatorCommand.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/SimulatorCommand.java index cf334f61..2901404f 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/SimulatorCommand.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/SimulatorCommand.java @@ -94,7 +94,7 @@ public class SimulatorCommand extends SWCommand { @Register(value = "test") public void test(Player player) { - for (int i = 0; i < 100; i++) { + for (int i = 0; i < 1; i++) { SimulatorPreviewCalculator data = new SimulatorPreviewCalculator(null); data.spawnTNT(0, 166, 0); data.calculate(simulatorPreviewResult -> { diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/preview/SimulatorPreviewTNT.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/preview/SimulatorPreviewTNT.java index 7defbb95..42931655 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/preview/SimulatorPreviewTNT.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/features/simulator/preview/SimulatorPreviewTNT.java @@ -59,6 +59,7 @@ public class SimulatorPreviewTNT { } public void tick() { + System.out.println(x + " " + y + " " + z); // TODO: Issue in movement still! // System.out.println(x + " " + y + " " + z); // Gravity