Fixes entities not being saved and tile entities having an incorrect field, closes #1661

This commit is contained in:
Shoghi Cervantes
2014-10-15 12:15:17 +02:00
parent e3a9db5d8f
commit 69d132401e
4 changed files with 7 additions and 6 deletions

View File

@ -306,6 +306,7 @@ class Level implements ChunkManager, Metadatable{
if($this->getAutoSave()){
$this->save();
}
$this->unloadChunks();
$this->provider->close();
}