mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fixed respawn fall damage when dying while falling from causes other than fall damage
tl;dr: fall distance didn't get reset
This commit is contained in:
@ -2747,6 +2747,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
}
|
||||
|
||||
$this->resetLastMovements();
|
||||
$this->resetFallDistance();
|
||||
|
||||
$this->setSprinting(false);
|
||||
$this->setSneaking(false);
|
||||
|
Reference in New Issue
Block a user