From a07cec16f8d7098fabc4a3bccb7d6da263410d4a Mon Sep 17 00:00:00 2001 From: masmc05 <63639746+masmc05@users.noreply.github.com> Date: Wed, 25 Dec 2024 22:56:24 +0200 Subject: [PATCH] Add effective name to ItemStack (#11770) --- .../main/java/org/bukkit/inventory/ItemStack.java | 12 ++++++++++++ .../bukkit/craftbukkit/inventory/CraftItemStack.java | 8 ++++++++ 2 files changed, 20 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/inventory/ItemStack.java b/paper-api/src/main/java/org/bukkit/inventory/ItemStack.java index 8c9654cd19af..ed95b77a0bcf 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/ItemStack.java +++ b/paper-api/src/main/java/org/bukkit/inventory/ItemStack.java @@ -5,6 +5,7 @@ import java.util.LinkedHashMap; import java.util.Locale; import java.util.Map; +import net.kyori.adventure.text.Component; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.NamespacedKey; @@ -710,6 +711,17 @@ public net.kyori.adventure.text.event.HoverEvent