From 0950262d9fdaad9cae403b2f473fa807663831db Mon Sep 17 00:00:00 2001 From: filoghost Date: Thu, 15 Jan 2015 13:09:00 +0100 Subject: [PATCH] Add alias for dyes. --- .../src/com/gmail/filoghost/chestcommands/util/Utils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ChestCommands/src/com/gmail/filoghost/chestcommands/util/Utils.java b/ChestCommands/src/com/gmail/filoghost/chestcommands/util/Utils.java index 11ffd55..37978d0 100644 --- a/ChestCommands/src/com/gmail/filoghost/chestcommands/util/Utils.java +++ b/ChestCommands/src/com/gmail/filoghost/chestcommands/util/Utils.java @@ -86,6 +86,7 @@ public class Utils { tempMap.put("gunpowder", Material.SULPHUR); tempMap.put("lilypad", Material.WATER_LILY); tempMap.put("command block", Material.COMMAND); + tempMap.put("dye", Material.INK_SACK); for (Entry tempEntry : tempMap.entrySet()) { materialMap.put(StringUtils.stripChars(tempEntry.getKey(), " _-").toLowerCase(), tempEntry.getValue()); @@ -304,6 +305,6 @@ public class Utils { builder.append(iter.next()); } - return builder.toString(); + return builder.toString(); } }