Skip to content

Commit 6e00e79

Browse files
authored
Apply item model to ItemStack (#241)
1 parent 8c4e91d commit 6e00e79

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugin/src/main/java/com/iridium/iridiumcore/utils/ItemStackUtils.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ public static ItemStack makeItem(Item item, List<Placeholder> placeholders) {
8181
}
8282
}
8383

84+
if (item.model != null) {
85+
itemStack = setModel(item.model, itemStack);
86+
}
87+
8488
return itemStack;
8589
}
8690

0 commit comments

Comments
 (0)