3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 18:40:05 +01:00

Fixed & updated BlockType.usesDamageValue

Dieser Commit ist enthalten in:
Wizjany 2011-10-26 16:50:46 -04:00
Ursprung 906b6dd832
Commit dbc3053195

Datei anzeigen

@ -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);
} }
} }