Add a config version to config files.

Mostly because we need a way to generate missing entries when they got added.
This commit is contained in:
Bernhard Bonigl committed 2016-10-18 09:58:33 +02:00
1 parent a5b7f032cf
commit 09288895a0
2 files changed
+19

No files matched your search

@@ -30,6 +30,7 @@ public abstract class AbstractConfig {
val.loader = configFile.loader;
val.file = configFile.file;
val.insertDefaults();
val.setConfigVersion();
configFileList.add(val);
// note: this is a workaround for generics because the generic info has to match the same class