mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Merge remote-tracking branch 'origin/release/3.2'
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user