mojira.dev
MC-165773

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

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

Linked issues

Comments 9

This also happens when commands aren't inside /execute. (Happens to all commands)

Can confirm in 21w03a.

Can confirm in 21w06a.

Can confirm in 1.19.2.

marcono1234

(Unassigned)

Confirmed

Low

Commands

/execute, /execute-run

1.14.4, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, ..., 1.17.1, 1.18.1, 1.18.2, 1.19, 1.19.2

23w14a

Retrieved