unneeded, and was allocating thousands of sets a second

This commit is contained in:
Leijurv 2018-11-25 22:50:22 -08:00
parent f9a3a3b78b
commit 14daf2ce85
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -465,7 +465,6 @@ public interface MovementHelper extends ActionCosts, Helper {
static boolean isFlowing(IBlockState state) {
// Will be IFluidState in 1.13
return state.getBlock() instanceof BlockLiquid
&& state.getPropertyKeys().contains(BlockLiquid.LEVEL)
&& state.getValue(BlockLiquid.LEVEL) != 0;
}
}