Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-114029

Command block syntax error remains in last output window even after fixing it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.17.20.20 Beta, 1.16.210.54 Beta, 1.16.201 Hotfix, 1.17.2 Hotfix
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Platform:
      Windows 10 - PC
    • ADO:
      453498

      Description

      The bug

      When a malformed command is typed into a command block, then the screen is closed and reopened, the error is displayed in the previous output window. However, if the command is then modified to be correct, the error remains. This is confusing because it makes it look like your command has a syntax error, when it doesn't.

      How to reproduce

      1. Open a command block
      2. Type give
      3. Close the menu
      4. Reopen it
      5. Fix the command by typing give @a dirt
      6. Close the menu
      7. Reopen it
      The previous output section still thinks there's a syntax error after "give"

      Notes

      If the previous output is showing legitimate command output and not syntax information, it's important that that output is not lost/overridden when viewing the command block and leaving the command unchanged.

      Probably the best solution is to show the syntax errors in real-time like Java does but we all know that's not going to happen

        Attachments

          Activity

            People

            Reporter:
            tryashtar [Mod] tryashtar
            Votes:
            5 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: