mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Fix structure loading
This commit is contained in:
parent
06335dfd4f
commit
a05865b56b
1 changed files with 1 additions and 1 deletions
|
@ -23198,7 +23198,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
StructureTemplate structureTemplate = new StructureTemplate();
|
||||
int i = NbtUtils.getDataVersion(nbt, 500);
|
||||
- structureTemplate.load(this.blockLookup, DataFixTypes.STRUCTURE.updateToCurrentVersion(this.fixerUpper, nbt, i));
|
||||
+ ca.spottedleaf.dataconverter.minecraft.MCDataConverter.convertTag(ca.spottedleaf.dataconverter.minecraft.datatypes.MCTypeRegistry.STRUCTURE, nbt, i, SharedConstants.getCurrentVersion().getDataVersion().getVersion()); // Paper
|
||||
+ structureTemplate.load(this.blockLookup, ca.spottedleaf.dataconverter.minecraft.MCDataConverter.convertTag(ca.spottedleaf.dataconverter.minecraft.datatypes.MCTypeRegistry.STRUCTURE, nbt, i, SharedConstants.getCurrentVersion().getDataVersion().getVersion())); // Paper
|
||||
return structureTemplate;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue