0

So, I'm trying to get a command to work but with the distance=10 in the run effect give @e[type=creeper,distance=10] 1 2, it just doesn't work. why? Full Command: execute as @p[nbt={SelectedItem:{id:"minecraft:diamond"}}] run effect give @e[type=minecraft:creeper,distance=10] slowness 1 2