no more flowing water

This commit is contained in:
Leijurv 2018-09-17 20:25:52 -07:00
parent dc5514b5b7
commit f13bcbd49f
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

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