This commit is contained in:
2022-10-03 15:41:00 +02:00
parent 505d6bfb2b
commit 3d333c6406
2 changed files with 6 additions and 2 deletions

View File

@ -62,7 +62,9 @@ public class BlacksmithPlugin extends JavaPlugin {
//Copy default config to disk
FileConfiguration fileConfiguration = this.getConfig();
this.saveDefaultConfig();
this.reloadConfig();
fileConfiguration.options().copyDefaults(true);
this.saveConfig();
//Load settings
config = new GlobalSettings(this);