Warn if structure runs through DFU

This commit is contained in:
embeddedt 2023-02-25 20:38:29 -05:00
parent 5c853a7259
commit 4024bf03ad
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);