Fix air.isSolid() crash

This commit is contained in:
James Seibel
2024-11-02 13:05:56 -05:00
parent fe9bccb91f
commit 7759a2f9ea
@@ -420,6 +420,11 @@ public class BlockStateWrapper implements IBlockStateWrapper
@Override
public boolean isSolid()
{
if (this.isAir())
{
return false;
}
#if MC_VER < MC_1_20_1
return this.blockState.getMaterial().isSolid();
#else