mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fixed & updated BlockType.usesDamageValue
This commit is contained in:
parent
906b6dd832
commit
dbc3053195
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user