Add alias for dyes.

This commit is contained in:
filoghost 2015-01-15 13:09:00 +01:00
parent 91f4c3ebdc
commit 0950262d9f

View File

@ -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<String, Material> 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();
}
}