These commands dont work in my datapack for some reason?
These command work when i put it in a command block but when i put it in my tick.mcfunction file it dont:
execute as @a at @s if block ~ ~-1 ~ stone unless entity @s[nbt={Inventory:[{Slot:100b,id:"minecraft:netherite_boots",Count:1b}]}] run effect give @s wither 1 2 true execute as @a at @s if block ~ ~-1 ~ stone unless entity @s[nbt={Inventory:[{Slot:100b,id:"minecraft:netherite_boots",Count:1b}]}] run effect give @s wither 1 2 true execute as @a at @s if block ~ ~-1 ~ stone unless entity @s[nbt={Inventory:[{Slot:100b,id:"minecraft:netherite_boots",Count:1b}]}] run effect give @s wither 1 2 true execute as @a at @s if block ~ ~-1 ~ stone unless entity @s[nbt={Inventory:[{Slot:100b,id:"minecraft:netherite_boots",Count:1b}]}] run effect give @s wither 1 2 true execute as @a at @s if block ~ ~-1 ~ stone unless entity @s[nbt={Inventory:[{Slot:100b,id:"minecraft:netherite_boots",Count:1b}]}] run effect give @s wither 1 2 true execute as @a at @s if block ~ ~-1 ~ stone unless entity @s[nbt={Inventory:[{Slot:100b,id:"minecraft:netherite_boots",Count:1b}]}] run effect give @s wither 1 2 true