diff --git a/src/pocketmine/utils/Config.php b/src/pocketmine/utils/Config.php index 56aa56f2a..43f7c1c91 100644 --- a/src/pocketmine/utils/Config.php +++ b/src/pocketmine/utils/Config.php @@ -83,8 +83,7 @@ public function __construct($file, $type = Config::DETECT, $default = [], &$corr public function reload(){ $this->config = []; $this->correct = false; - unset($this->type); - $this->load($this->file); + $this->load($this->file, $this->type); } /**