mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed API unloading
This commit is contained in:
@ -128,7 +128,7 @@ class Level{
|
||||
|
||||
public function __destruct(){
|
||||
if(isset($this->level)){
|
||||
$this->save();
|
||||
$this->save(false, false);
|
||||
$this->level->close();
|
||||
unset($this->level);
|
||||
}
|
||||
|
Reference in New Issue
Block a user