Include hash in warning message

This commit is contained in:
embeddedt 2023-02-25 20:43:09 -05:00
parent 4024bf03ad
commit c883b0953e
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -49,7 +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);
ModernFix.LOGGER.warn("Structure {} is being run through DFU (hash {}), this will cause launch time delays", location, hash);
currentTag = NbtUtils.update(datafixer, DataFixTypes.STRUCTURE, currentTag, currentDataVersion,
SharedConstants.getCurrentVersion().getWorldVersion());
saveCachedUpgraded(location, hash, currentTag);