summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit/inventory/ItemFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/bukkit/inventory/ItemFactory.java')
-rw-r--r--src/main/java/org/bukkit/inventory/ItemFactory.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/inventory/ItemFactory.java b/src/main/java/org/bukkit/inventory/ItemFactory.java
index c6654c4a..58c2e17e 100644
--- a/src/main/java/org/bukkit/inventory/ItemFactory.java
+++ b/src/main/java/org/bukkit/inventory/ItemFactory.java
@@ -1,5 +1,6 @@
package org.bukkit.inventory;
+import org.bukkit.Color;
import org.bukkit.Material;
import org.bukkit.Server;
import org.bukkit.inventory.meta.BookMeta;
@@ -79,4 +80,11 @@ public interface ItemFactory {
* @throws IllegalArgumentException if the specified meta was not created by this factory
*/
ItemMeta asMetaFor(final ItemMeta meta, final Material material) throws IllegalArgumentException;
+
+ /**
+ * Returns the default color for all leather armor.
+ *
+ * @return the default color for leather armor
+ */
+ Color getDefaultLeatherColor();
}