mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Merge pull request #2794 from sekjun9878/master
Utils\Config preserves document type between reloads. Fixes #2777
This commit is contained in:
commit
1f977f68c0
@ -83,8 +83,7 @@ class Config{
|
|||||||
public function reload(){
|
public function reload(){
|
||||||
$this->config = [];
|
$this->config = [];
|
||||||
$this->correct = false;
|
$this->correct = false;
|
||||||
unset($this->type);
|
$this->load($this->file, $this->type);
|
||||||
$this->load($this->file);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user