From 7675e464a7d5bb68f80ca1134f3cb98af21cb08b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Mon, 7 Feb 2022 23:15:51 +0100 Subject: [PATCH] Update CreatingInnerBlocksState Signed-off-by: yoyosource --- .../slaves/laufbau/states/CreatingInnerBlocksState.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/states/CreatingInnerBlocksState.java b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/states/CreatingInnerBlocksState.java index 292e0271..f5c1251f 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/states/CreatingInnerBlocksState.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/states/CreatingInnerBlocksState.java @@ -93,6 +93,9 @@ public class CreatingInnerBlocksState implements LaufbauState { } if (!isInCuboid) { blockDataWithBoundingBoxList.add(blockDataWithBoundingBox); + if (preferingBlastResistance) { + break; + } } } if (blockDataWithBoundingBoxList.isEmpty()) {