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

/execute advancement command throws error in log if it fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.4, 21w03a, 1.16.5, 1.17.1, 1.18.1, 1.19, 1.19.1 Pre-release 1, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 23w43b
    • None
    • Confirmed
    • Commands
    • Normal
    • Platform

      When trying to run an execute command which runs an advancement grant or revoke, it throws a error involving brigadier if the command would fail.

      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

            Unassigned Unassigned
            jirauser71590 user-f2760 (Inactive)
            Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              CHK: