geforkt von Mirrors/Paper
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