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()){