mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Utils\Config preserves document type between reloads. Fixes #2777
This commit is contained in:
@ -83,8 +83,7 @@ class Config{
|
||||
public function reload(){
|
||||
$this->config = [];
|
||||
$this->correct = false;
|
||||
unset($this->type);
|
||||
$this->load($this->file);
|
||||
$this->load($this->file, $this->type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user