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