diff --git a/src/pocketmine/plugin/PluginBase.php b/src/pocketmine/plugin/PluginBase.php index 5cfdd08cc..ef70fe8f1 100644 --- a/src/pocketmine/plugin/PluginBase.php +++ b/src/pocketmine/plugin/PluginBase.php @@ -267,10 +267,6 @@ abstract class PluginBase implements Plugin{ public function reloadConfig(){ $this->saveDefaultConfig(); $this->config = new Config($this->configFile); - if(($configStream = $this->getResource("config.yml")) !== null){ - $this->config->setDefaults(yaml_parse(Config::fixYAMLIndexes(stream_get_contents($configStream)))); - fclose($configStream); - } } /**