From 5975bd9d32713852bd9ea5abc9466dceab564233 Mon Sep 17 00:00:00 2001 From: williamtdr Date: Wed, 31 Jul 2013 00:44:41 -0500 Subject: [PATCH] Fix for fly kick when player is standing on Fence Fix for Issue #631 (Player kicked for flying when standing on fence). --- src/world/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Entity.php b/src/world/Entity.php index c7f9f2e0d..baa0618b2 100644 --- a/src/world/Entity.php +++ b/src/world/Entity.php @@ -400,7 +400,7 @@ class Entity extends Position{ $support = true; $isFlying = false; break; - }elseif(($b instanceof LiquidBlock) or $b->getID() === COBWEB or $b->getID() === LADDER){ + }elseif(($b instanceof LiquidBlock) or $b->getID() === COBWEB or $b->getID() === LADDER or $b->getID() === FENCE){ $isFlying = false; } }