mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-25 22:34:29 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user