diff options
author | SoSeDiK <[email protected]> | 2024-05-01 10:58:50 +0300 |
---|---|---|
committer | SoSeDiK <[email protected]> | 2024-05-01 10:58:50 +0300 |
commit | 5e1dc7cf471ec6a76d100f58f8349c36a0e7722c (patch) | |
tree | d4e729a2665c066687886d49d11885d0c6f5c988 /paper-api/src | |
parent | 925c5a676004b02cb96fce6863da112e5a2a99a0 (diff) | |
download | Paper-5e1dc7cf471ec6a76d100f58f8349c36a0e7722c.tar.gz Paper-5e1dc7cf471ec6a76d100f58f8349c36a0e7722c.zip |
Expose #hasColor to leather armor
Diffstat (limited to 'paper-api/src')
-rw-r--r-- | paper-api/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java b/paper-api/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java index c701d5fbc5..2d68f93c37 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java @@ -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 } |