no more flowing water

This commit is contained in:
Leijurv
2018-09-17 20:25:52 -07:00
parent dc5514b5b7
commit f13bcbd49f

View File

@ -432,7 +432,7 @@ public interface MovementHelper extends ActionCosts, Helper {
break; break;
} }
IBlockState ontoBlock = BlockStateInterface.get(onto); IBlockState ontoBlock = BlockStateInterface.get(onto);
if (BlockStateInterface.isWater(ontoBlock.getBlock())) { if (ontoBlock.getBlock() == Blocks.WATER) {
return new MovementFall(pos, onto); return new MovementFall(pos, onto);
} }
if (canWalkThrough(onto, ontoBlock)) { if (canWalkThrough(onto, ontoBlock)) {