Skip to content

Commit

Permalink
Update GUIItem.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisa9006 committed Dec 3, 2024
1 parent 65724f1 commit 6822ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/dev/felnull/bettergui/core/GUIItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ public void setLore(List<Component> lore){
itemStack.setItemMeta(meta);
}

public void setCMD(int custommodeldata) {
public void setCMD(int customModelData) {
ItemMeta meta = itemStack.getItemMeta();
meta.setCustomModelData(custommodeldata);
meta.setCustomModelData(customModelData);
itemStack.setItemMeta(meta);
}
}

0 comments on commit 6822ed8

Please sign in to comment.