Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-267119

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

XMLWordPrintable

    • Confirmed
    • Commands
    • Low
    • Platform

      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}}]
      

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

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

        1. image-2023-12-01-12-19-05-681.png
          39 kB
          SolidBlock
        2. image-2023-12-01-12-19-56-920.png
          17 kB
          SolidBlock
        3. image-2023-12-01-12-20-20-388.png
          17 kB
          SolidBlock

            Unassigned Unassigned
            SolidBlock SolidBlock
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: