mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Removed workaround on flying check due to physics calculation fix, closes #2169
This commit is contained in:
parent
7f85e37540
commit
48f591e5ce
@ -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()){
|
||||
|
Loading…
x
Reference in New Issue
Block a user