mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Fixed auto-save configuration, made it global
This commit is contained in:
@ -41,9 +41,7 @@ class SaveOnCommand extends VanillaCommand{
|
||||
return true;
|
||||
}
|
||||
|
||||
foreach($sender->getServer()->getLevels() as $level){
|
||||
$level->setAutoSave(true);
|
||||
}
|
||||
$sender->getServer()->setAutoSave(true);
|
||||
|
||||
Command::broadcastCommandMessage($sender, "Enabled level saving");
|
||||
|
||||
|
Reference in New Issue
Block a user