Przeglądaj źródła

Recreate save file after load

Lortseam 4 lat temu
rodzic
commit
aaf810ed3e

+ 1 - 0
src/main/java/me/lortseam/completeconfig/io/ConfigSource.java

@@ -61,6 +61,7 @@ public final class ConfigSource {
             if (!root.virtual()) {
                 config.apply(root);
             }
+            save(config);
         } catch (ConfigurateException e) {
             LOGGER.error("[CompleteConfig] Failed to load config from file!", e);
         }