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

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.20.70.24 Preview, 1.20.70
    • 1.19.80.21 Preview, 1.17.20.20 Beta, 1.16.210.54 Beta, 1.16.40 Hotfix, 1.16.201 Hotfix, 1.17.2 Hotfix, 1.19.70
    • None
    • Confirmed
    • Multiple
    • 453498

      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

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

              Created:
              Updated:
              Resolved:
              CHK: