diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/makamys/neodymium/Config.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/makamys/neodymium/Config.java b/src/main/java/makamys/neodymium/Config.java index 6c11def..93e97f2 100644 --- a/src/main/java/makamys/neodymium/Config.java +++ b/src/main/java/makamys/neodymium/Config.java @@ -77,7 +77,7 @@ public class Config { e.printStackTrace(); } - Configuration config = new Configuration(configFile); + Configuration config = new Configuration(configFile, Neodymium.VERSION); config.load(); @@ -86,7 +86,7 @@ public class Config { info.needReload = needReload; } - if(config.hasChanged()) { + if(config.hasChanged() || (!config.getLoadedConfigVersion().equals(config.getDefinedConfigVersion()))) { config.save(); } |