aboutsummaryrefslogtreecommitdiffhomepage
path: root/paper-api/src
diff options
context:
space:
mode:
authorSoSeDiK <[email protected]>2024-05-01 10:58:50 +0300
committerSoSeDiK <[email protected]>2024-05-01 10:58:50 +0300
commit5e1dc7cf471ec6a76d100f58f8349c36a0e7722c (patch)
treed4e729a2665c066687886d49d11885d0c6f5c988 /paper-api/src
parent925c5a676004b02cb96fce6863da112e5a2a99a0 (diff)
downloadPaper-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.java9
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
}