We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc62f9d commit c9a1ed7Copy full SHA for c9a1ed7
src/main/java/com/falsepattern/lib/config/ConfigurationManager.java
@@ -76,8 +76,8 @@ private static void processConfig(Class<?> configClass) throws IllegalAccessExce
76
configName = cfg.modid();
77
}
78
val rawConfig = new Configuration(configDir.resolve(configName + ".cfg").toFile());
79
+ rawConfig.load();
80
val cat = rawConfig.getCategory(category);
-
81
for (val field: configClass.getDeclaredFields()) {
82
if (field.getAnnotation(Config.Ignore.class) != null) continue;
83
field.setAccessible(true);
@@ -112,5 +112,6 @@ private static void processConfig(Class<?> configClass) throws IllegalAccessExce
112
cat.setRequiresWorldRestart(true);
113
114
115
+ rawConfig.save();
116
117
0 commit comments