Marker armor stand cannot find itself with 0 as distance selector argument
The bug
Marker armor stands cannot find themselves when a value of 0 is used as distance selector argument value.
How to reproduce
- Summon a non-marker armor stand
/summon armor_stand ~ ~ ~ {Tags:["non_marker"]} - Have the armor stand use a distance=0 selector
/execute as @e[type=armor_stand,tag=non_marker] at @s run say @s[distance=0]
- Summon a marker armor stand
/summon armor_stand ~ ~ ~ {Marker:1b,Tags:["marker"]}
The armor stand finds itself as expected - Have the armor stand use a distance=0 selector
/execute as @e[type=armor_stand,tag=marker] at @s run say @s[distance=0]
The armor stand does not find itself
2017-12-20, 12:52 AM
2018-01-16, 11:22 PM
2017-12-20, 01:07 AM
0
2
Marker, armor_stand, distance, selector
-