Commit d3b36c58 authored by primetoxinz's avatar primetoxinz

Stop attempts to get natural states of blocks that are not ice.

parent d57ea7fa
......@@ -83,7 +83,8 @@ public class BlockIce extends net.minecraft.block.BlockIce {
}
private void setWater(World world, BlockPos pos, IBlockState state) {
if(state.getBlock() != this)
return;
if (state.getValue(NATURAL)) {
world.setBlockState(pos, Blocks.FLOWING_WATER.getDefaultState());
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment