-4

What is wrong here? Im trying to test if player have potion of swifitness II in inventory

execute as @a[nbt={Inventory:[{id:"minecraft:potion",tag:{Potion:"minecraft:strong_swiftness"}}]}]

pls help

New contributor
K.K. is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.