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
*/
public static boolean usesDamageValue(int id) {
return id == BlockID.CLOTH
|| id == ItemID.INK_SACK;
return id == ItemID.COAL
|| id == ItemID.INK_SACK
// for material only, orientation data is not stored in inventory anyway
|| BlockType.usesData(id);
}
}