diff --git a/src/main/java/cr0s/warpdrive/data/StateAir.java b/src/main/java/cr0s/warpdrive/data/StateAir.java index 6cace653..d7e66017 100644 --- a/src/main/java/cr0s/warpdrive/data/StateAir.java +++ b/src/main/java/cr0s/warpdrive/data/StateAir.java @@ -12,6 +12,7 @@ import cr0s.warpdrive.api.ExceptionChunkNotLoaded; import net.minecraft.block.Block; import net.minecraft.block.BlockDynamicLiquid; import net.minecraft.block.BlockPane; +import net.minecraft.block.BlockStairs; import net.minecraft.block.BlockStaticLiquid; import net.minecraft.block.material.Material; import net.minecraft.entity.player.EntityPlayer; @@ -235,6 +236,10 @@ public class StateAir { } else if (block instanceof BlockAbstractOmnipanel) { typeBlock = BLOCK_SEALER; + } else if (block instanceof BlockStairs) { + // stairs are reporting slab collision box, so we can't detect them automatically + typeBlock = BLOCK_SEALER; + } else if (block instanceof BlockStaticLiquid || block instanceof BlockDynamicLiquid) {// vanilla liquid (water & lava sources or flowing) // metadata = 0 for source, 8/9 for vertical flow // 2 superposed sources would still be 0, so we can't use metadata. Instead, we're testing explicitly the block above