Chunk ticking depends on chunk loaders, fixes #3118

This commit is contained in:
Shoghi Cervantes 2015-06-06 17:38:10 +02:00
parent 9e4d88a852
commit 7f6704f761
No known key found for this signature in database
GPG Key ID: 78464DB0A7837F89

View File

@ -805,7 +805,7 @@ class Level implements ChunkManager, Metadatable{
}
private function tickChunks(){
if($this->chunksPerTick <= 0 or count($this->players) === 0){
if($this->chunksPerTick <= 0 or count($this->loaders) === 0){
$this->chunkTickList = [];
return;
}