mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 14:30:17 +01:00
My pleasure to get rid of those comments
This commit is contained in:
parent
791b26c200
commit
94fef6d5e7
1 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue