mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 13:35:29 +00:00
Player: remove a couple of useless lines from respawn()
teleport() handles these already.
This commit is contained in:
parent
5eb1ee3416
commit
9a099d3f5d
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user