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

Command syntax help doesn't handle multiple optional arguments correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 18w02a
    • Confirmed

      To reproduce, look at the command syntax help for /clear:

      1. Type in /clear
      2. Hit the space bar
      3. Hit esc
      4. You will see the command syntax help for /clear: /clear [<targets>] [<item>] (see attached screenshot)

      The provided syntax suggests that

      /clear minecraft:enchanted_book{}

      is valid, which it isn't.

      The correct syntax help for this example should be /clear [<targets> [<item>]].

        1. 2018-01-10_16.15.49.png
          1.53 MB
          [Mod] redstonehelper

            dinnerbone [Mojang] Nathan Adams
            redstonehelper [Mod] redstonehelper
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: