mojira.dev
MC-122535

Distance doesn't work in selector

These commands don't do what they should:

/execute at @e if entity @p[distance=...2] run say player found
/execute at @p if entity @e[type=armor_stand,distance=...2] run say armor stand found
/say @e[distance=...5]

Comments 2

Ranges need two dots, not three.

Gábor Dávid

(Unassigned)

Unconfirmed

Minecraft 17w47b

Retrieved