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,7 +26,9 @@ public abstract class Config {
this.registerEntries();
this.autoSync = autoSync;
DataExchangeAPI.addAutoSyncFile(BCLib.MOD_ID, "CONFIG_"+modID+"_"+group, keeper.getConfigFile());
if (autoSync) {
DataExchangeAPI.addAutoSyncFile(BCLib.MOD_ID, "CONFIG_" + modID + "_" + group, keeper.getConfigFile());
}
}
public void saveChanges() {