mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed 'moved too fast' when respawning
This commit is contained in:
parent
8957dbf08e
commit
ffefcd4473
@ -2631,6 +2631,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
$this->setPosition($realSpawn); //The client will move to the position of its own accord once chunks are sent
|
||||
$this->nextChunkOrderRun = 0;
|
||||
$this->isTeleporting = true;
|
||||
$this->newPosition = null;
|
||||
}
|
||||
|
||||
$this->resetLastMovements();
|
||||
|
Loading…
x
Reference in New Issue
Block a user