Added non-threaded chunk generation, toggleable on pocketmine.yml

This commit is contained in:
Shoghi Cervantes
2014-09-26 11:18:46 +02:00
parent 5db45222c6
commit d720113ac9
8 changed files with 279 additions and 6 deletions

View File

@ -164,7 +164,7 @@ class GenerationManager{
}
protected function closeLevel($levelID){
if(!isset($this->levels[$levelID])){
if(isset($this->levels[$levelID])){
$this->levels[$levelID]->shutdown();
unset($this->levels[$levelID]);
}