Fixed 'moved too fast' when respawning

This commit is contained in:
Dylan K. Taylor 2017-07-30 20:58:08 +01:00
parent 8957dbf08e
commit ffefcd4473

View File

@ -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();