Changes the order of default config stuff to make sure comments are included in the saved config file
This commit is contained in:
parent
9753e51cb5
commit
758262e9d7
@ -168,8 +168,8 @@ public final class PermissionSigns extends JavaPlugin {
|
|||||||
|
|
||||||
//Load config and write the default config if necessary
|
//Load config and write the default config if necessary
|
||||||
FileConfiguration config = this.getConfig();
|
FileConfiguration config = this.getConfig();
|
||||||
config.options().copyDefaults(true);
|
|
||||||
this.saveDefaultConfig();
|
this.saveDefaultConfig();
|
||||||
|
config.options().copyDefaults(true);
|
||||||
Translator.loadLanguages(loadConfig());
|
Translator.loadLanguages(loadConfig());
|
||||||
|
|
||||||
registerListeners();
|
registerListeners();
|
||||||
|
Loading…
Reference in New Issue
Block a user