3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-09-16 04:51:22 +02: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
*/
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);
}
}