From 5e1dc7cf471ec6a76d100f58f8349c36a0e7722c Mon Sep 17 00:00:00 2001 From: SoSeDiK Date: Wed, 1 May 2024 10:58:50 +0300 Subject: [PATCH] Expose #hasColor to leather armor --- .../java/org/bukkit/inventory/meta/LeatherArmorMeta.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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 }