mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed crash at unload
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user