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:
Dylan K. Taylor 2017-10-05 16:47:50 -04:00
parent 7f5fe137d1
commit 628ff9449e

View File

@ -2747,6 +2747,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
}
$this->resetLastMovements();
$this->resetFallDistance();
$this->setSprinting(false);
$this->setSneaking(false);