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:
Dylan K. Taylor
2018-07-18 16:48:53 +01:00
parent e57dd3e8ba
commit 1144620f2b
3 changed files with 19 additions and 20 deletions

View File

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