mojira.dev
MC-106842

Target selector stops parsing its arguments if an entry is not <argument>=<value>

  1. Put or summon at least two armor stands

  2. /say @e[type=armor_stand,argument=anyvalue,c=1] (where "anyvalue" can be even "") will find 1 armor stand (invalid argument was ignored, which is MC-101249)

  3. /say @e[type=armor_stand,=anyvalue,c=1] (no argument)
    /say @e[type=armor_stand,anyvalue=anyvalue=anyvalue,c=1] (multiple equals signs)
    /say @e[type=armor_stand,anyvalue,c=1] (no equals signs)
    These commands will find all armor stands - this means that everything after an invalid entry was ignored

Linked issues

Comments 1

It now keeps parsing and just ignored any invalids.

It now reports an error when an invalid selector argument is being used.

SunCat

Erik Broes

Confirmed

Minecraft 1.10.2, Minecraft 16w35a, Minecraft 16w36a

Minecraft 16w38a

Retrieved