Suppress latest.log warning about structures on 1.20+
This commit is contained in:
parent
ce0d054e6e
commit
c45f83e896
|
|
@ -76,11 +76,13 @@ public class CachingStructureManager {
|
||||||
ModernFix.LOGGER.debug("Using cached upgraded version of {}", location);
|
ModernFix.LOGGER.debug("Using cached upgraded version of {}", location);
|
||||||
currentTag = cachedUpgraded;
|
currentTag = cachedUpgraded;
|
||||||
} else {
|
} else {
|
||||||
|
/*
|
||||||
synchronized (laggyStructureMods) {
|
synchronized (laggyStructureMods) {
|
||||||
if(laggyStructureMods.add(location.getNamespace())) {
|
if(laggyStructureMods.add(location.getNamespace())) {
|
||||||
ModernFix.LOGGER.warn("The namespace {} contains an outdated structure file, which can cause worldgen lag. Please view debug.log for the full filename, determine which mod provides the structure, and report to the mod/datapack author, including the debug log.", location.getNamespace());
|
ModernFix.LOGGER.warn("The namespace {} contains an outdated structure file, which can cause worldgen lag. Please view debug.log for the full filename, determine which mod provides the structure, and report to the mod/datapack author, including the debug log.", location.getNamespace());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
ModernFix.LOGGER.debug("Structure {} is being run through DFU (hash {}), this will cause launch time delays", location, hash);
|
ModernFix.LOGGER.debug("Structure {} is being run through DFU (hash {}), this will cause launch time delays", location, hash);
|
||||||
currentTag = DataFixTypes.STRUCTURE.update(datafixer, currentTag, currentDataVersion,
|
currentTag = DataFixTypes.STRUCTURE.update(datafixer, currentTag, currentDataVersion,
|
||||||
SharedConstants.getCurrentVersion().getDataVersion().getVersion());
|
SharedConstants.getCurrentVersion().getDataVersion().getVersion());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user