From 48f591e5ce1947adcbb8ddb09b717f39ec16d6a3 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 11 Oct 2014 16:43:14 +0200 Subject: [PATCH] Removed workaround on flying check due to physics calculation fix, closes #2169 --- src/pocketmine/Player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 46650c2d1..c9f6569da 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -1195,7 +1195,7 @@ class Player extends Human implements CommandSender, InventoryHolder, IPlayer{ $this->entityBaseTick(); - if($this->onGround or $this->fallDistance === 0){ + if($this->onGround){ $this->inAirTicks = 0; }else{ if($this->inAirTicks > 100 and $this->isSurvival() and !$this->isSleeping() and $this->spawned and !$this->server->getAllowFlight()){