mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Fixed plugins not generating their config file
This commit is contained in:
parent
8149c9e7ca
commit
6a4010a9af
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue