From d39d57953e809d074f8eab90f351fddd6bc31a27 Mon Sep 17 00:00:00 2001 From: masmc05 Date: Tue, 24 Dec 2024 16:10:35 +0100 Subject: [PATCH] Add imports in api --- paper-api/src/main/java/org/bukkit/inventory/ItemStack.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 bfefc5299c..ed95b77a0b 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 com.google.common.collect.ImmutableMap; 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; @@ -717,7 +718,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat * * @return the effective name of this item stack */ - public net.kyori.adventure.text.@NotNull Component effectiveName() { + public @NotNull Component effectiveName() { return this.craftDelegate.effectiveName(); }