mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 15:30:19 +01:00
Expose #hasColor to leather armor
This commit is contained in:
parent
925c5a6760
commit
5e1dc7cf47
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue