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

Command block data is erased upon pressing Enter in the GUI before the client receives the update packet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13.1, Minecraft 19w14b, 1.14.4, 19w37a, 1.16.2, 21w05a, 1.19.1 Pre-release 5, 1.19.1 Pre-release 6, 1.19.1 Release Candidate 2, 1.19.1, 1.19.2, 1.21 Pre-Release 4
    • Confirmed
    • Creative
    • (Unassigned)

      The bug

      As described in MC-87209, the command block GUI briefly appears blank after it is opened. The Done button is disabled during this period, however, pressing the Enter key will cause all the default settings (impulse, unconditional, needs redstone, no command entered) to be saved in the command block, overwriting the previously saved data.

      How to reproduce

      1. Enter a lag-inducing command into an always-active repeating command block, e.g:
        execute if entity @e[distance=100000]
      2. Close and reopen the command block GUI
        The command input field appears blank (MC-87209)
      3. Press the Enter key before the GUI has finished loading
        The command block is reset to an impulse, needs-redstone command block with no saved command (this may take a few seconds to occur due to the lag)

      Alternatively, this can be reproduced by opening the GUI of any command block while holding the Enter key.

            Unassigned Unassigned
            Creeper Juice Creeper Juice
            Votes:
            8 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: