Skip to content

Commit

Permalink
chore: use itemName in Item
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed May 31, 2024
1 parent 40ba1e9 commit 4336614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/mineinabyss/guiy/components/Item.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fun Item(
val loreMM = remember(lore) { lore.map { it.miniMsg() } }

Item(ItemStack(material, amount).editItemMeta {
displayName(titleMM)
itemName(titleMM)
lore(loreMM)
}, modifier)
}

0 comments on commit 4336614

Please sign in to comment.