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