Skip to content

Commit 38727c4

Browse files
committed
Fix #424: The Quarry trying to mine bubble columns. - patch 2
1 parent 4d308f3 commit 38727c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/electrodynamics/common/tile/machines/quarry/TileQuarry.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
import net.minecraft.world.level.Level;
4040
import net.minecraft.world.level.block.Block;
4141
import net.minecraft.world.level.block.Blocks;
42+
import net.minecraft.world.level.block.BubbleColumnBlock;
4243
import net.minecraft.world.level.block.LiquidBlock;
4344
import net.minecraft.world.level.block.entity.BlockEntity;
4445
import net.minecraft.world.level.block.state.BlockState;
@@ -942,7 +943,7 @@ public boolean hasCorners() {
942943

943944
private boolean skipBlock(BlockState state) {
944945
return state.isAir() || state.is(Blocks.BEDROCK) || miningPos.getValue().getY() == level.getMinBuildHeight()
945-
|| state.getBlock() instanceof LiquidBlock;
946+
|| state.getBlock() instanceof LiquidBlock || state.getBlock() instanceof BubbleColumnBlock;
946947
}
947948

948949
private void tickClient(ComponentTickable tick) {

0 commit comments

Comments
 (0)