fix sub MC 1.20.1 compiling

This commit is contained in:
James Seibel
2024-07-09 16:39:29 -05:00
parent f7a0fff869
commit 1c189e162a
@@ -156,7 +156,7 @@ public class BlockStateWrapper implements IBlockStateWrapper
if (this.blockState != null)
{
#if MC_VER < MC_1_20_1
mcColor = this.blockState.getMaterial().getColor();
mcColor = this.blockState.getMaterial().getColor().col;
#else
mcColor = this.blockState.getMapColor(EmptyBlockGetter.INSTANCE, BlockPos.ZERO).col;
#endif