From 405a53aa2d89528ed625143d0d2f197ce28c7b9b Mon Sep 17 00:00:00 2001 From: yoyosource Date: Tue, 8 Feb 2022 17:34:46 +0100 Subject: [PATCH] Update stuff Signed-off-by: yoyosource --- .../slaves/laufbau/states/CreatingInnerBlocksState.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 78b433f1..67a1fb9b 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 @@ -101,9 +101,7 @@ public class CreatingInnerBlocksState implements LaufbauState { try { editSession.setBlock(BukkitAdapter.asBlockVector(location), BukkitAdapter.adapt(highest.blockData)); location.getBlock().setBlockData(highest.blockData, false); - if (highest.blockConsumer != null) { - highest.blockConsumer.accept(location.getBlock()); - } + if (highest.blockConsumer != null) highest.blockConsumer.accept(location.getBlock()); } catch (MaxChangedBlocksException e) { e.printStackTrace(); // ignored