mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 11:58:00 +00:00
Move responsibility of firing chunk requests from World to NetworkSession
this is, after all, all about sending chunks ...
This commit is contained in:
@@ -956,8 +956,12 @@ class NetworkSession{
|
||||
return true; //keep ticking until timeout
|
||||
}
|
||||
|
||||
if($this->player !== null){
|
||||
$this->player->doChunkRequests();
|
||||
}
|
||||
|
||||
$this->flushSendBuffer();
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user