Skip to content

Commit

Permalink
fix: custom-model-data loading from yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Misat11 committed Jun 21, 2024
1 parent 0d9b691 commit a9f1d06
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public class ItemStackSerializer implements TypeSerializer<ItemStack> {
var customModelData = node.node(CUSTOM_MODEL_DATA_KEY);
if (!customModelData.empty()) {
try {
builder.customModelData(locName.get(Integer.class));
builder.customModelData(customModelData.get(Integer.class));
} catch (SerializationException ignored) {
}
}
Expand Down

0 comments on commit a9f1d06

Please sign in to comment.