Change log level or orphaned registry output

This commit is contained in:
modmuss50 2020-06-05 15:33:41 +01:00
parent 3c5f026f0d
commit 8779c4a30c
2 changed files with 3 additions and 3 deletions
fabric-registry-sync-v0
build.gradle
src/main/java/net/fabricmc/fabric/impl/registry/sync

View file

@ -1,5 +1,5 @@
archivesBaseName = "fabric-registry-sync-v0"
version = getSubprojectVersion(project, "0.3.5")
version = getSubprojectVersion(project, "0.3.6")
dependencies {
compile project(path: ':fabric-api-base', configuration: 'dev')

View file

@ -221,7 +221,7 @@ public final class RegistrySyncManager {
if (!isClientSync && previousRegistryData != null) {
for (String key : previousRegistryData.getKeys()) {
if (!registryTag.contains(key)) {
LOGGER.info("Saving orphaned registry entry: " + key);
LOGGER.debug("Saving orphaned registry entry: " + key);
registryTag.putInt(key, registryTag.getInt(key));
}
}
@ -235,7 +235,7 @@ public final class RegistrySyncManager {
if (!isClientSync && activeTag != null) {
for (String registryKey : activeTag.getKeys()) {
if (!mainTag.contains(registryKey)) {
LOGGER.info("Saving orphaned registry: " + registryKey);
LOGGER.debug("Saving orphaned registry: " + registryKey);
mainTag.put(registryKey, activeTag.getCompound(registryKey));
}
}