mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 23:59:53 +00:00
Do not send block changes during chunk generation
This commit is contained in:
parent
e4c8142681
commit
bd73cced6e
@ -105,7 +105,7 @@ class Level{
|
||||
$now = microtime(true);
|
||||
$this->players = $this->server->api->player->getAll($this);
|
||||
|
||||
if(count($this->changedCount) > 0){
|
||||
if($this->level->isGenerating === false and count($this->changedCount) > 0){
|
||||
arsort($this->changedCount);
|
||||
$resendChunks = array();
|
||||
foreach($this->changedCount as $index => $count){
|
||||
|
Loading…
x
Reference in New Issue
Block a user