My pleasure to get rid of those comments

This commit is contained in:
masmc05 2024-12-23 11:34:03 +01:00
parent 791b26c200
commit 94fef6d5e7

View file

@ -467,12 +467,10 @@ public final class CraftItemStack extends ItemStack {
return true; return true;
} }
// Paper start - add ItemStack#effectiveName
@Override @Override
public net.kyori.adventure.text.Component effectiveName() { 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()); 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 @Override
public boolean isSimilar(ItemStack stack) { public boolean isSimilar(ItemStack stack) {