From 38ff383023765a9cd394f2686100e65019df1592 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sat, 5 Feb 2022 20:00:44 +0100 Subject: [PATCH] Update Laufbau Signed-off-by: yoyosource --- .../slaves/laufbau/states/CreatingOuterBlocksState.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/states/CreatingOuterBlocksState.java b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/states/CreatingOuterBlocksState.java index 60454b02..141a261e 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/states/CreatingOuterBlocksState.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/features/slaves/laufbau/states/CreatingOuterBlocksState.java @@ -26,21 +26,19 @@ import com.sk89q.worldedit.world.block.BaseBlock; import com.sk89q.worldedit.world.block.BlockTypes; import de.steamwar.bausystem.BauSystem; import de.steamwar.bausystem.region.Point; -import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.World; -import org.bukkit.block.data.BlockData; import org.bukkit.entity.Player; import java.util.List; public class CreatingOuterBlocksState implements LaufbauState { - private static final BaseBlock STONE; + private static final BaseBlock SHELL; static { - STONE = BlockTypes.get("minecraft:stone").getDefaultState().toBaseBlock(); + SHELL = BlockTypes.get("minecraft:end_stone").getDefaultState().toBaseBlock(); } private List outerBlocks; @@ -75,7 +73,7 @@ public class CreatingOuterBlocksState implements LaufbauState { return; } try { - editSession.setBlock(BukkitAdapter.asBlockVector(location), STONE); + editSession.setBlock(BukkitAdapter.asBlockVector(location), SHELL); location.getBlock().setType(Material.STONE, false); } catch (MaxChangedBlocksException e) { e.printStackTrace();