geforkt von Mirrors/Paper
Fix structure loading
Dieser Commit ist enthalten in:
Ursprung
06335dfd4f
Commit
a05865b56b
@ -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;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren