mojira.dev
MC-87295

Pressing "Done" in a command block without changing command resets its SuccessCount

The bug

Pressing the "Done" button in the command block GUI resets the success count even when the command was not changed.

How to reproduce

  1. Place a command block

  2. Enter for example the following command

    /testfor @p
  3. Run it once

  4. Look at its block data. It will have a SuccessCount of non-zero.

  5. Open the command block, change some settings if you want, hit "Done"

  6. Look at the block data again. It will now have a SuccessCount of 0, even though the command did not change.

Attachments

Comments 5

But when you flip the lever back off it spams "1" and "3" (not right!)

This is in fact, correct behaviour, since the last execution state of the second command block is successful.

If I open the middle command block and close it again it starts spamming only "1" like it should.

Not sure why it does this though, unless the second command block failed for some reason. I also cannot reproduce this.

Pressing the "done" button may reset the success condition of the block.

Carl Nathans: It does exactly that, good catch. I'll update the report accordingly.

Is this still an issue in the current Minecraft Snapshot 15w44b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Jonathan Levi

(Unassigned)

Confirmed

GUI, command, command_block, successCount

Minecraft 15w35b, Minecraft 17w06a

Retrieved