From bd73cced6e40a5a116721bf8fa4af761b5a2221c Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Thu, 13 Feb 2014 01:47:18 +0100 Subject: [PATCH] Do not send block changes during chunk generation --- src/world/Level.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Level.php b/src/world/Level.php index 97d25a64b..f20c09068 100644 --- a/src/world/Level.php +++ b/src/world/Level.php @@ -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){