mojira.dev
MC-93731

c=1 selector sometimes selects the entity which is not the nearest

c=1 selector sometimes selects the entity which is not the nearest.
example:/tp @e[type=ArmorStand,c=1] ~0.5 ~ ~-0.5 (be run by player)
If many armorstands around you,sometimes it will not tp the nearest armorstands.

Comments 2

Nearest to who/what? Is the command being run in a command block or by the player? In either case, I cannot reproduce your issue. If run via command block, it will target the nearest armor stand to the command block as expected. If run by the player, it will target the nearest armor stand to the player.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

She Yushu

(Unassigned)

Unconfirmed

Minecraft 1.8.8, Minecraft 15w47c, Minecraft 15w49a

Retrieved