From 94fef6d5e703715f06108666d82f60473de73ffe Mon Sep 17 00:00:00 2001 From: masmc05 Date: Mon, 23 Dec 2024 11:34:03 +0100 Subject: [PATCH] My pleasure to get rid of those comments --- .../java/org/bukkit/craftbukkit/inventory/CraftItemStack.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java index 738d7bf304..c4de9a4c4c 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemStack.java @@ -467,12 +467,10 @@ public final class CraftItemStack extends ItemStack { return true; } - // Paper start - add ItemStack#effectiveName @Override public net.kyori.adventure.text.Component effectiveName() { return this.handle == null ? net.kyori.adventure.text.Component.empty() : io.papermc.paper.adventure.PaperAdventure.asAdventure(this.handle.getStyledHoverName()); } - // Paper end - add ItemStack#effectiveName @Override public boolean isSimilar(ItemStack stack) {