mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
fixed loss of data
This commit is contained in:
parent
b182e35f2a
commit
48c1aa1cb9
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ class Level{
|
||||||
|
|
||||||
public function __destruct(){
|
public function __destruct(){
|
||||||
if(isset($this->level)){
|
if(isset($this->level)){
|
||||||
$this->save(false, false);
|
$this->save(false, false, false, false);
|
||||||
$this->level->close();
|
$this->level->close();
|
||||||
unset($this->level);
|
unset($this->level);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue