Mojira Archive
MC-108726

Scheduled block updates are not removed when block is destroyed (example: buttons)

The bug

I placed a button on my wall, then i pressed it, when it was pressed, i destroyed it, and placed it again quick, then i clicked the new button (this works with both wooden and stone buttons):

It should just be pressed in, for i guess 2 seconds or about that. It was pressed in for 1 second or less, depending on how long time the first button i had was pressed.

How to reproduce

  1. Place a button on a block
  2. Press the button
  3. When the button is pressed, destroy the button
  4. Then quickly place a new button of the same type
  5. If you now click the button, it will have a smaller pulse, depending on how long time the last button were pressed, before destroying it