mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Level: minor de-spaghettification of chunk requesting
Now the Level tells the player to request chunks on tick, instead of the server doing it.
This commit is contained in:
@@ -2511,10 +2511,6 @@ class Server{
|
||||
|
||||
$this->checkTickUpdates($this->tickCounter, $tickTime);
|
||||
|
||||
foreach($this->players as $player){
|
||||
$player->checkNetwork();
|
||||
}
|
||||
|
||||
if(($this->tickCounter % 20) === 0){
|
||||
if($this->doTitleTick){
|
||||
$this->titleTick();
|
||||
|
Reference in New Issue
Block a user