Respect the auto-sync setting

This commit is contained in:
Frank Bauer 2021-08-10 21:43:22 +02:00
parent 819514a699
commit 28b3669f39

View file

@ -26,8 +26,10 @@ public abstract class Config {
this.registerEntries();
this.autoSync = autoSync;
if (autoSync) {
DataExchangeAPI.addAutoSyncFile(BCLib.MOD_ID, "CONFIG_" + modID + "_" + group, keeper.getConfigFile());
}
}
public void saveChanges() {
this.keeper.save();