mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +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(){
|
public function saveDefaultConfig(){
|
||||||
if(!file_exists($this->configFile)){
|
if(!file_exists($this->configFile)){
|
||||||
$this->saveResource("config.yml", false);
|
return $this->saveResource("config.yml", false);
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function reloadConfig(){
|
public function reloadConfig(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user