fix: Migrate from old config on every load

This commit is contained in:
Ben Woo 2023-03-27 14:09:36 +08:00
parent 61cd593844
commit 98fc0178aa
No known key found for this signature in database
GPG Key ID: FB2A3645536E12C8

View File

@ -67,7 +67,6 @@ public class MVCoreConfig implements MVConfig {
.build())
.build();
migrateFromOldConfigFile();
load();
save();
}
@ -90,6 +89,7 @@ public class MVCoreConfig implements MVConfig {
@Override
public boolean load() {
migrateFromOldConfigFile();
return configHandle.load();
}