Fixed & updated BlockType.usesDamageValue

This commit is contained in:
Wizjany 2011-10-26 16:50:46 -04:00
parent 906b6dd832
commit dbc3053195

View File

@ -517,7 +517,9 @@ public enum ItemType {
* @return * @return
*/ */
public static boolean usesDamageValue(int id) { public static boolean usesDamageValue(int id) {
return id == BlockID.CLOTH return id == ItemID.COAL
|| id == ItemID.INK_SACK; || id == ItemID.INK_SACK
// for material only, orientation data is not stored in inventory anyway
|| BlockType.usesData(id);
} }
} }