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
Place a button on a block
Press the button
When the button is pressed, destroy the button
Then quickly place a new button of the same type
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
Linked issues
is duplicated by 7
relates to 1
Attachments
Comments 5
It looks like the problem is that the update for a block is not removed when the block is broken, in this case unpowering the button again. This affects very likely other blocks as well. As far as I know one method of bedrock breaking abuses this as well.
Also practically affects coral dying, as described in MC-128743
Can confirm for 16w41a