mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-05 01:29:55 +00:00
Player: fixed player can fly after respawn (#4388)
This commit is contained in:
parent
e43d39c0bc
commit
34a7405820
@ -2124,6 +2124,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{
|
|||||||
|
|
||||||
$this->setSprinting(false);
|
$this->setSprinting(false);
|
||||||
$this->setSneaking(false);
|
$this->setSneaking(false);
|
||||||
|
$this->setFlying(false);
|
||||||
|
|
||||||
$this->extinguish();
|
$this->extinguish();
|
||||||
$this->setAirSupplyTicks($this->getMaxAirSupplyTicks());
|
$this->setAirSupplyTicks($this->getMaxAirSupplyTicks());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user