Expose #hasColor to leather armor

This commit is contained in:
SoSeDiK 2024-05-01 10:58:50 +03:00
parent 925c5a6760
commit 5e1dc7cf47

View file

@ -36,4 +36,13 @@ public interface LeatherArmorMeta extends ItemMeta {
@Override
@NotNull
LeatherArmorMeta clone();
// Paper start - Expose #hasColor to leather armor
/**
* Checks whether this leather armor is dyed.
*
* @return whether this leather armor is dyed
*/
boolean isDyed();
// Paper end - Expose #hasColor to leather armor
}