Added PMFLevel upgrade

This commit is contained in:
Shoghi Cervantes
2014-02-13 00:37:23 +01:00
parent f7b8ad0e37
commit b7ed2f765c
4 changed files with 72 additions and 10 deletions

View File

@ -149,10 +149,11 @@ class Level{
}
public function generateChunk($X, $Z){
$this->level->initCleanChunk($X, $Z);
$this->generator->generateChunk($X, $Z);
}
public function populateChunk($X, $Z){
$this->generator->populateChunk($X, $Z);
$this->level->saveChunk($X, $Z);
}
public function __destruct(){