I have a repeating command block set to "always active" running this command.
/effect give @a[nbt={Inventory:[{Slot:-106b,id:"minecraft:stick", tag:{display:{Name:"Speed Stick Deodorant"}}}]}] minecraft:speed 1 7 true
In my offhand, I'm holding a stick given to me via this command:
/give @p stick{display:{Name:"\"Speed Stick Deodorant\""},Enchantments:[{id:unbreaking,lvl:10}]} 1
The output on the repeating command block says "No entity was found". What's wrong here?
I also tried giving myself the stick without enchantments to see if that was a problem. Didn't help.