Summary
The conditions Holding and HasItem always return false, regardless if the player has a given item or not.
Steps to reproduce
Run the following commands while holding the dirt block in your hand: /give @s dirt /mm test mechanic message{m="wawa"} @self ?holding{m=DIRT} /mm test mechanic message{m="wawa"} @self ?hasitem{m=DIRT}
Current behavior
These conditions return false.
Intended correct behavior
These conditions should return true if the player does have the item.
Server log file