mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 06:25:32 +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:
parent
7f5fe137d1
commit
628ff9449e
@ -2747,6 +2747,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
}
|
||||
|
||||
$this->resetLastMovements();
|
||||
$this->resetFallDistance();
|
||||
|
||||
$this->setSprinting(false);
|
||||
$this->setSneaking(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user