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

/execute run does not cause syntax error when arguments are missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 23w14a
    • 1.14.4, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 6, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a, 20w13a, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w20a, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w49a, 21w03a, 21w05b, 21w06a, 1.17.1, 1.18.1, 1.18.2, 1.19, 1.19.2
    • Confirmed
    • Commands
    • Low

      The bug

      /execute run does not cause a syntax error when the command to run is missing arguments. There is no feedback at all in this case.
      However, it is considered a syntax error if the command to run does not exit.

      How to reproduce

      Compare the result when typing / executing the following commands.

      1. Invalid command:
        /execute run scoreboard invalid
        

        An error is shown

      2. Missing argument:
        /execute run scoreboard objectives
        

        No error message, no feedback at all

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            14 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: