instanceof BlockLiquid checks this

This commit is contained in:
Leijurv 2019-07-23 11:53:21 -07:00
parent 44a092cd94
commit 0e51a73149
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -254,7 +254,6 @@ public interface MovementHelper extends ActionCosts, Helper {
static boolean avoidWalkingInto(Block block) {
return block instanceof BlockLiquid
|| block instanceof BlockDynamicLiquid
|| block == Blocks.MAGMA
|| block == Blocks.CACTUS
|| block == Blocks.FIRE