Hasitem filter accepts negative data numbers.
When using the hasitem filter, the hasitem filter will accept negative data values.
Steps to Reproduce:
- Open a Minecraft World.
- Run /testfor @a[hasitem=\{item=allow,data=-5}]
- Observe
Observed Results:
Game accepts negative value
Expected Results:
Game should not accept a negative value
2022-06-13, 05:40 AM
2022-06-13, 02:30 PM
2022-06-13, 02:25 PM
0
0
1.19.10.22 Preview, 1.19.1 Switch, 1.19.0
-