From 433661453da7b1294b5ef1a8f07490a04b572617 Mon Sep 17 00:00:00 2001 From: Boy Date: Fri, 31 May 2024 19:47:39 +0200 Subject: [PATCH] chore: use itemName in Item --- src/main/kotlin/com/mineinabyss/guiy/components/Item.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/mineinabyss/guiy/components/Item.kt b/src/main/kotlin/com/mineinabyss/guiy/components/Item.kt index f950ccd..fd24e79 100644 --- a/src/main/kotlin/com/mineinabyss/guiy/components/Item.kt +++ b/src/main/kotlin/com/mineinabyss/guiy/components/Item.kt @@ -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) }