mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Utils\Config preserves document type between reloads. Fixes #2777
This commit is contained in:
parent
6bf30c133a
commit
91a26c15dd
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user