unneeded, and was allocating thousands of sets a second
This commit is contained in:
parent
f9a3a3b78b
commit
14daf2ce85
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user