Data values are ignored in hasitem selector
While I was trying to test if a player had a certain color of glass I, realized that the data values were ignored while doing
/execute @s[hasitem={item=stained_glass,data=1}] ~~~ /say gg
2022-10-21, 03:09 AM
2022-10-21, 04:12 AM
2022-10-21, 04:07 AM
0
0
-