mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-05 17:41:46 +00:00
Merge remote-tracking branch 'origin/release/3.2'
This commit is contained in:
commit
bd993b2342
@ -267,10 +267,6 @@ abstract class PluginBase implements Plugin{
|
|||||||
public function reloadConfig(){
|
public function reloadConfig(){
|
||||||
$this->saveDefaultConfig();
|
$this->saveDefaultConfig();
|
||||||
$this->config = new Config($this->configFile);
|
$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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user