From 1a585d0ea8590ed818578fdd41584c9d740b28f8 Mon Sep 17 00:00:00 2001 From: GameHerobrine Date: Thu, 30 Jun 2022 20:01:57 +0300 Subject: [PATCH] 49. going down causes fall damage -- fixed --- src/entity/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }