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

Brigadier: Sometimes the error message is not useful

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 18w15a, Minecraft 18w19b, Minecraft 1.13-pre7, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.14.2, Minecraft 1.14.3, Minecraft 1.14.4 Pre-Release 2
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      You input a command with an unknown name, or a missing but unrequired command, then the error message is not useful for it.
      For example:

      You input: /unknown
      Error message: Unknown command at position 0: <--[HERE]
      Expected: Unknown command "unknown". Type /help for help.

      You input: /kill
      Error message: Unknown command at position 4: /kill <--[HERE]
      Expected: Missing variable: /kill <target> or "<target>" is a required variable.

      Affected versions include earlier 1.13 snapshots, maybe since when the command system is changed.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              CHK: