Fixed auto-save configuration, made it global

This commit is contained in:
Shoghi Cervantes
2014-09-28 10:50:43 +02:00
parent aa27c28e65
commit 2ded2013bf
5 changed files with 52 additions and 24 deletions

View File

@ -239,6 +239,7 @@ class Level implements ChunkManager, Metadatable{
$this->levelId = static::$levelIdCounter++;
$this->blockMetadata = new BlockMetadataStore($this);
$this->server = $server;
$this->autoSave = $server->getAutoSave();
/** @var LevelProvider $provider */