mojira.dev
MC-267119

In target selectors, advancements and scores list does not check commas actually

Reproducted in 1.19.4, 1.20.2 and 1.20.3-rc1.
In the advancements and scores of entity selectors (target selectors), commas can be omitted.

*How to reproduce*
The following commands can parse normally:

/execute if entity @s[advancements={example=true example2={x1=true x2=false}}]
[media]

/execute if entity @s[scores={a=1 b=2 c=3}]
[media]

/execute if entity @s[scores={a=1b=2c=3}]
[media]

Attachments

Comments 2

Do they also function as you expect? Or do they check for "example=true example2" 's criterion "x1=true x2"?

Yes, it functions as if commas are added normally.

SolidBlock

(Unassigned)

Confirmed

Platform

Low

Commands

command, parsing, selector, target-selector

1.19.4, 1.20.2, 1.20.3 Release Candidate 1

Retrieved