2024-05-01 19:14:42 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: SoSeDiK <mrsosedik@gmail.com>
|
|
|
|
Date: Wed, 1 May 2024 10:58:50 +0300
|
|
|
|
Subject: [PATCH] Expose #hasColor to leather armor
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java b/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java
|
2024-06-13 17:45:43 +02:00
|
|
|
index c701d5fbc5fef503f18a3a46fa54c983bf96e895..2d68f93c371e4a40638f56e5cd4d39472d4e462b 100644
|
2024-05-01 19:14:42 +02:00
|
|
|
--- a/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java
|
|
|
|
+++ b/src/main/java/org/bukkit/inventory/meta/LeatherArmorMeta.java
|
2024-05-26 00:58:56 +02:00
|
|
|
@@ -36,4 +36,13 @@ public interface LeatherArmorMeta extends ItemMeta {
|
2024-05-01 19:14:42 +02:00
|
|
|
@Override
|
|
|
|
@NotNull
|
|
|
|
LeatherArmorMeta clone();
|
|
|
|
+
|
|
|
|
+ // Paper start - Expose #hasColor to leather armor
|
|
|
|
+ /**
|
2024-05-26 00:58:56 +02:00
|
|
|
+ * Checks whether this leather armor is dyed.
|
2024-05-01 19:14:42 +02:00
|
|
|
+ *
|
|
|
|
+ * @return whether this leather armor is dyed
|
|
|
|
+ */
|
|
|
|
+ boolean isDyed();
|
|
|
|
+ // Paper end - Expose #hasColor to leather armor
|
|
|
|
}
|