Removed workaround on flying check due to physics calculation fix, closes #2169

This commit is contained in:
Shoghi Cervantes 2014-10-11 16:43:14 +02:00
parent 7f85e37540
commit 48f591e5ce

View File

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