make diffContent
count
This commit is contained in:
parent
1f239baeb9
commit
9cd0ef1f04
1 changed files with 5 additions and 1 deletions
|
@ -41,7 +41,11 @@ public abstract class Config {
|
|||
if (autoSync) {
|
||||
final String uid = "CONFIG_" + modID + "_" + group;
|
||||
final AutoSyncID aid = new AutoSyncID(BCLib.MOD_ID, uid);
|
||||
DataExchangeAPI.addAutoSyncFile(aid.modID, aid.uniqueID, keeper.getConfigFile(), this::compareForSync);
|
||||
if (diffContent)
|
||||
DataExchangeAPI.addAutoSyncFile(aid.modID, aid.uniqueID, keeper.getConfigFile(),this::compareForSync);
|
||||
else
|
||||
DataExchangeAPI.addAutoSyncFile(aid.modID, aid.uniqueID, keeper.getConfigFile());
|
||||
|
||||
autoSyncConfigs.put(aid, this);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue