Respect the auto-sync setting
This commit is contained in:
parent
819514a699
commit
28b3669f39
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ public abstract class Config {
|
||||||
this.registerEntries();
|
this.registerEntries();
|
||||||
this.autoSync = autoSync;
|
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() {
|
public void saveChanges() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue