diff --git a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/utils/PasteBuilder.java b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/utils/PasteBuilder.java index ef6b912b..a4a74e17 100644 --- a/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/utils/PasteBuilder.java +++ b/BauSystem/BauSystem_Main/src/de/steamwar/bausystem/utils/PasteBuilder.java @@ -145,6 +145,13 @@ public class PasteBuilder { public PasteBuilder removeWater(boolean removeWater) { if (!removeWater) return this; BaseBlock water = Objects.requireNonNull(BlockTypes.get("water")).getDefaultState().toBaseBlock(); + BlockType bubble_column_type = BlockTypes.get("bubble_column"); + BaseBlock bubble_column; + if (bubble_column_type == null) { + bubble_column = null; + } else { + bubble_column = bubble_column_type.getDefaultState().toBaseBlock(); + } BaseBlock air = Objects.requireNonNull(BlockTypes.get("air")).getDefaultState().toBaseBlock(); WaterloggedRemover waterloggedRemover = new WaterloggedRemover(getClipboard()); @@ -154,6 +161,10 @@ public class PasteBuilder { clipboard.setBlock(blockVector3, air); return; } + if (bubble_column != null && baseBlock.equals(bubble_column)) { + clipboard.setBlock(blockVector3, air); + return; + } String blockName = clipboard.getFullBlock(blockVector3).getBlockType().getName(); if (blockName.equals("Water")) { clipboard.setBlock(blockVector3, air);