mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Player: fixed player can fly after respawn (#4388)
This commit is contained in:
@ -2124,6 +2124,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
|
||||
|
||||
$this->setSprinting(false);
|
||||
$this->setSneaking(false);
|
||||
$this->setFlying(false);
|
||||
|
||||
$this->extinguish();
|
||||
$this->setAirSupplyTicks($this->getMaxAirSupplyTicks());
|
||||
|
Reference in New Issue
Block a user