mojira.dev
MC-123475

"No player was found" on any command selectors (@a, @e, @p)

I will use an example with /tellraw but also i didn't work with commands like /playsound and it broke a lot of systems

How to reproduce

1. Place a command block or paste in chat

2. put /tellraw @a[x=1430,y=56,z=2234,distance=2] {"text":"Example"} (Where 1430, 56 and 2234 are x y z coords of your map)

3. Press enter and it will appear "No player was found"

Also if you dont put the "distance=2" it will output the text "Example" even if you dont are in the coords

Linked issues

Comments 2

distance is a range. Setting it to 2 will cause it to only look for targets exactly 2.0 blocks away, no more or less. Use distance=..2 to get a range between minimum (0) and 2.

Ohhh, thanks for the help

Iosu Duran

(Unassigned)

Unconfirmed

Minecraft 17w50a

Retrieved