mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 13:35:29 +00:00
Fixed plugins not generating their config file
This commit is contained in:
parent
8149c9e7ca
commit
6a4010a9af
@ -69,6 +69,7 @@ class Config{
|
||||
}
|
||||
if(!file_exists($file)){
|
||||
$this->config = $default;
|
||||
$this->save();
|
||||
}else{
|
||||
if($this->type === CONFIG_DETECT){
|
||||
$extension = explode(".", basename($this->file));
|
||||
|
Loading…
x
Reference in New Issue
Block a user