diff --git a/src/entity/Entity.php b/src/entity/Entity.php index 8bee38c7..9e039ea8 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -387,7 +387,7 @@ class Entity extends Position{ $support = true; $isFlying = false; break; - }elseif(($b instanceof LiquidBlock) or $b->getID() === COBWEB or $b->getID() === LADDER or $b->getID() === FENCE or $b->getID() === STONE_WALL){ + }elseif(($b instanceof LiquidBlock) or $b->getID() === COBWEB or $b->getID() === LADDER or $b->getID() === FENCE or $b->getID() === STONE_WALL or $b->getID() === IRON_BARS){ $isFlying = false; } }