Replace existing DataVersion in structure with new version
This commit is contained in:
parent
c883b0953e
commit
11c04fb668
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user