So I updated Minecraft to the new version (1.21.5) and I had problems with my skills datapack.
execute as @a[nbt={Inventory:[{id:"minecraft:carrot_on_a_stick",Slot:-106b,components:{"minecraft:custom_data":{dash:true}}}]}, scores= {Dash=1..}] run effect give @s minecraft:speed 1 4 true
I´ve tested this in-game and it doesn´t work, Also I´ve already checked the item custom data and the scoreboard. What should I do? (srry if my english is poor, i tried my best)
Continue to help post