mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
Fix
This commit is contained in:
parent
8c190ead7f
commit
b4f95fad11
1 changed files with 1 additions and 0 deletions
|
|
@ -219,6 +219,7 @@ class LevelAPI{
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __destruct(){
|
public function __destruct(){
|
||||||
|
$this->saveAll();
|
||||||
foreach($this->levels as $level){
|
foreach($this->levels as $level){
|
||||||
$this->unloadLevel($level, true);
|
$this->unloadLevel($level, true);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue