Output to debug only if we have a valid DFU for schematics.

Warn for backwards (since we can't DFU) and info for missing DFU
(since it might still be compatible).
Under normal circumstances, a DFU should be available so we'll only
log to debug (which is generally off).
This commit is contained in:
wizjany 2019-07-24 19:05:39 -04:00
parent 78488d9b76
commit 415cdc0ab2

View File

@ -111,7 +111,7 @@ public class SpongeSchematicReader extends NBTSchematicReader {
} else if (dataVersion < liveDataVersion) { } else if (dataVersion < liveDataVersion) {
fixer = platform.getDataFixer(); fixer = platform.getDataFixer();
if (fixer != null) { if (fixer != null) {
log.info("Schematic was made in an older Minecraft version ({} < {}), will attempt DFU.", log.debug("Schematic was made in an older Minecraft version ({} < {}), will attempt DFU.",
dataVersion, liveDataVersion); dataVersion, liveDataVersion);
} else { } else {
log.info("Schematic was made in an older Minecraft version ({} < {}), but DFU is not available. Data may be incompatible.", log.info("Schematic was made in an older Minecraft version ({} < {}), but DFU is not available. Data may be incompatible.",