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