-
Bug
-
Resolution: Duplicate
-
None
-
1.18.31
-
None
-
Unconfirmed
-
Multiple
Whenever using the hasitem argument to filter out durability items with specific data values (which translates to durability for the item) it fails to detect any players with those items.
How to reproduce:
/give @s leather_helmet 1 2
/give @a[hasitem=
] diamond
Expected result:
Gain one diamond
Actual result:
Failed to detect any player
It is worthy to mention that if you use a data value of 0 or lower, then the command does work properly. However, this still doesn't work with other data values. It is also worthy to mention that this issue persists with all items that have durability, not just leather helmets.
- duplicates
-
MCPE-151920 The command does not evaluate the selector argument "hasitem" -> data.
- Reopened