mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
add NetworkSession->onEnterWorld() hook
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user