mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
Fixed crash at unload
This commit is contained in:
parent
be83eaf521
commit
15c9b7214d
@ -127,6 +127,9 @@ class Level{
|
||||
}
|
||||
|
||||
public function save($force = false){
|
||||
if(!isset($this->level)){
|
||||
return false;
|
||||
}
|
||||
if($this->server->saveEnabled === false and $force === false){
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user