mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 03:16:35 +00:00
Fix
This commit is contained in:
parent
8c190ead7f
commit
b4f95fad11
@ -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…
x
Reference in New Issue
Block a user