Code:
on consume:
if tag "CustomItem" of nbt of event-item is "Worm":
send "test"
cancel event
remove 1 of event-item from player's inventory
add 1 to player's food bar
stop
I don't know what to do to fix this thats why I did not report it as a bug but I will do that after this but I need some solutions
[doublepost=1603378092,1603377709][/doublepost]I reported on github but i wanna see if anyone can make a solution