Make config-register message clearer

This commit is contained in:
Frank 2021-08-19 09:05:38 +02:00
parent ddaf8a0e01
commit 32e1b2edb4
2 changed files with 4 additions and 2 deletions

View file

@ -40,7 +40,6 @@ public class BCLib implements ModInitializer {
CraftingRecipes.init();
WorldDataAPI.registerModCache(MOD_ID);
DataExchangeAPI.registerMod(MOD_ID);
DataExchangeAPI.registerModDependency("wunderreich");
DataFixerAPI.registerPatch(() -> new BCLibPatch());
DataExchangeAPI.registerDescriptors(List.of(
HelloClient.DESCRIPTOR,

View file

@ -33,7 +33,10 @@ public abstract class Config {
}
protected Config(String modID, String group, boolean autoSync, boolean diffContent) {
BCLib.LOGGER.info("Registered Config " + modID + "." + group + " (" + autoSync + ")");
if (autoSync) {
BCLib.LOGGER.info("Config " + modID + "." + group + " to auto sync (contentDiff = " + diffContent + ")");
}
this.keeper = new ConfigKeeper(modID, group);
this.registerEntries();
this.autoSync = autoSync;