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

/execute advancement command with non-valid advancement throws error in log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.4, 21w03a, 1.16.5, 1.17.1
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      When trying to run an execute command which runs an advancement grant or revoke, it throws a error involving brigadier is the advancement is not a valid advancement.

      execute ... run advancement ... somethingnonexistant
      execute ... run advancement ... only somethingnonexistant anycriterion

      This applies to all execute chains (with the sole-exception of "execute run") and both grant and revoke.

      execute as @s run advancement grant @s only somethingnonexistant anycriterion

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            FVbico Dhranios
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: