mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Player: Reset spawn chunk send count if teleporting pre-spawn
This commit is contained in:
parent
b2249f93c0
commit
4ae3fd7734
@ -3923,6 +3923,9 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
|
||||
$this->resetFallDistance();
|
||||
$this->nextChunkOrderRun = 0;
|
||||
if($this->spawnChunkLoadCount !== -1){
|
||||
$this->spawnChunkLoadCount = 0;
|
||||
}
|
||||
$this->stopSleep();
|
||||
|
||||
//TODO: workaround for player last pos not getting updated
|
||||
|
Loading…
x
Reference in New Issue
Block a user