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

This commit is contained in:
embeddedt 2023-02-25 20:58:40 -05:00
commit bad48db4d5
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -52,6 +52,7 @@ public class CachingStructureManager {
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());
currentTag.putInt("DataVersion", SharedConstants.getCurrentVersion().getWorldVersion());
saveCachedUpgraded(location, hash, currentTag);
}
}