From 758262e9d7486e000b66a205fe5878b1f722283c Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Wed, 26 Jan 2022 23:35:53 +0100 Subject: [PATCH] Changes the order of default config stuff to make sure comments are included in the saved config file --- .../java/net/knarcraft/permissionsigns/PermissionSigns.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/knarcraft/permissionsigns/PermissionSigns.java b/src/main/java/net/knarcraft/permissionsigns/PermissionSigns.java index b18c582..74b6ad5 100644 --- a/src/main/java/net/knarcraft/permissionsigns/PermissionSigns.java +++ b/src/main/java/net/knarcraft/permissionsigns/PermissionSigns.java @@ -168,8 +168,8 @@ public final class PermissionSigns extends JavaPlugin { //Load config and write the default config if necessary FileConfiguration config = this.getConfig(); - config.options().copyDefaults(true); this.saveDefaultConfig(); + config.options().copyDefaults(true); Translator.loadLanguages(loadConfig()); registerListeners();