mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Merge pull request #3876 from PEMapModder/patch-12
Add return value for PluginBase::saveDefaultConfig()
This commit is contained in:
commit
92ee4b3c73
@ -251,8 +251,9 @@ abstract class PluginBase implements Plugin{
|
||||
|
||||
public function saveDefaultConfig(){
|
||||
if(!file_exists($this->configFile)){
|
||||
$this->saveResource("config.yml", false);
|
||||
return $this->saveResource("config.yml", false);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public function reloadConfig(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user