The command does not evaluate the selector argument "hasitem" -> data.
The command does not evaluate the selector argument "hasitem" -> data.
Steps to Reproduce:
- Obtain blue concrete (data = 11)
- Type /testfor @s [hasitem=
{item=concrete, data=5}
] in the chat
Observed Results:
The command successfully finds the player even though the player has concrete with a data value of 11.
Expected Results:
The command should not find the player.
See video below.
2022-01-27, 07:46 PM
2024-12-30, 11:35 AM
48
33
770283
1.19.80.23 Preview - 1.21.51 Hotfix
1.19.80.23 Preview, 1.19.30.22 Preview, 1.19.20.20 Preview, 1.19.10.22 Preview, 1.19.10.21 Preview, 1.19.10.20 Preview, 1.19.0.20 Beta, 1.18.20.23 Beta, 1.18.20.21 Beta, 1.18.30, 1.18.31, 1.19.1 Switch, 1.19.0, 1.19.2 Hotfix, 1.19.10, 1.19.22 Hotfix, 1.19.31 Hotfix, 1.19.41, 1.19.63, 1.19.73, 1.20.1 Hotfix, 1.20.12 Hotfix, 1.20.41 Hotfix, 1.21.20, 1.21.51 Hotfix
-