unneeded, and was allocating thousands of sets a second

This commit is contained in:
Leijurv
2018-11-25 22:50:22 -08:00
parent 16a201255e
commit 4af14cf0a6

View File

@@ -482,7 +482,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;
}
}