mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 15:19:56 +00:00
Add return value for PluginBase::saveDefaultConfig()
This commit is contained in:
parent
ee0d4aa124
commit
b66ce90c94
@ -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