Skip to content

Commit c45f83e

Browse files
committed
Suppress latest.log warning about structures on 1.20+
1 parent ce0d054 commit c45f83e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/src/main/java/org/embeddedt/modernfix/structure/CachingStructureManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,13 @@ public static CompoundTag readStructureTag(ResourceLocation location, DataFixer
7676
ModernFix.LOGGER.debug("Using cached upgraded version of {}", location);
7777
currentTag = cachedUpgraded;
7878
} else {
79+
/*
7980
synchronized (laggyStructureMods) {
8081
if(laggyStructureMods.add(location.getNamespace())) {
8182
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());
8283
}
8384
}
85+
*/
8486
ModernFix.LOGGER.debug("Structure {} is being run through DFU (hash {}), this will cause launch time delays", location, hash);
8587
currentTag = DataFixTypes.STRUCTURE.update(datafixer, currentTag, currentDataVersion,
8688
SharedConstants.getCurrentVersion().getDataVersion().getVersion());

0 commit comments

Comments
 (0)