Fix BlockToAvoid and TintWithAvoidedBlocks

This commit is contained in:
James Seibel
2023-06-11 21:24:38 -05:00
parent 643c66a12f
commit 12548099f1
2 changed files with 5 additions and 3 deletions
@@ -81,9 +81,11 @@ public class BlockStateWrapper implements IBlockStateWrapper
public boolean isAir() { return this.isAir(this.blockState); }
public boolean isAir(BlockState blockState) { return blockState == null || blockState.isAir(); }
@Override
public boolean isSolid() { return this.blockState.getMaterial().isSolid(); }
@Override
public boolean isLiquid() { return this.blockState.getMaterial().isLiquid(); }