Do not send block changes during chunk generation

This commit is contained in:
Shoghi Cervantes 2014-02-13 01:47:18 +01:00
parent e4c8142681
commit bd73cced6e

View File

@ -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){