Merge remote-tracking branch 'origin/main' into 1.18

This commit is contained in:
embeddedt 2023-02-25 20:38:42 -05:00
commit 431f6930ce
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -49,6 +49,7 @@ public class CachingStructureManager {
ModernFix.LOGGER.warn("Using cached upgraded version of {}", location);
currentTag = cachedUpgraded;
} else {
ModernFix.LOGGER.warn("Structure {} is being run through DFU, this will cause launch time delays", location);
currentTag = NbtUtils.update(datafixer, DataFixTypes.STRUCTURE, currentTag, currentDataVersion,
SharedConstants.getCurrentVersion().getWorldVersion());
saveCachedUpgraded(location, hash, currentTag);