add NetworkSession->onEnterWorld() hook

This commit is contained in:
Dylan K. Taylor
2019-08-20 16:25:20 +01:00
parent 3a41a798ad
commit 122238d57e
2 changed files with 7 additions and 2 deletions

View File

@ -811,8 +811,7 @@ class Player extends Human implements CommandSender, ChunkLoader, ChunkListener,
$this->usedChunks = [];
$this->loadQueue = [];
$this->getWorld()->sendTime($this);
$this->getWorld()->sendDifficulty($this);
$this->networkSession->onEnterWorld();
return true;
}