Player: remove a couple of useless lines from respawn()

teleport() handles these already.
This commit is contained in:
Dylan K. Taylor 2018-03-24 10:34:30 +00:00
parent 5eb1ee3416
commit 9a099d3f5d

View File

@ -3655,9 +3655,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$realSpawn = Position::fromObject($ev->getRespawnPosition()->add(0.5, 0, 0.5), $ev->getRespawnPosition()->getLevel());
$this->teleport($realSpawn);
$this->resetLastMovements();
$this->resetFallDistance();
$this->setSprinting(false);
$this->setSneaking(false);