Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
Consider repair cost when checking ItemMeta emptiness. Fixes BUKKIT-5304
Dieser Commit ist enthalten in:
Ursprung
1f9f6a51c2
Commit
fd65b29a0c
@ -421,7 +421,7 @@ class CraftMetaItem implements ItemMeta, Repairable {
|
||||
|
||||
@Overridden
|
||||
boolean isEmpty() {
|
||||
return !(hasDisplayName() || hasEnchants() || hasLore() || hasAttributes());
|
||||
return !(hasDisplayName() || hasEnchants() || hasLore() || hasAttributes() || hasRepairCost());
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren