mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 11:18:52 +00:00
Reload Bugfix
This commit is contained in:
parent
54f058de3e
commit
6dc33791a7
@ -62,7 +62,11 @@ class Config{
|
||||
|
||||
public function reload()
|
||||
{
|
||||
$this->load($this->file, $this->type, array());
|
||||
unset($this->config);
|
||||
unset($this->correct);
|
||||
unset($this->type);
|
||||
$this->load($this->file);
|
||||
$correct = $this->check();
|
||||
}
|
||||
|
||||
public function load($file, $type = CONFIG_DETECT, $default = array()){
|
||||
|
Loading…
x
Reference in New Issue
Block a user