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
- 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
2016-10-14, 04:35 PM
2024-04-25, 11:57 AM
17
9
Minecraft 1.10.2 - 1.20.5
Minecraft 1.10.2, Minecraft 16w36a, Minecraft 16w41a, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w02a, Minecraft 18w11a, Minecraft 18w16a, Minecraft 18w20c, Minecraft 1.13-pre1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 19w04a, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2, 20w07a, 20w11a, 20w14a, 1.16 Pre-release 3, 1.16.2 Release Candidate 1, 1.17.1, 1.18.1, 1.19, 1.19.1 Pre-release 5, 1.19.1, 1.19.2, 1.19.3, 1.19.4 Pre-release 3, 1.19.4, 23w18a, 1.20.1, 1.20.2, 1.20.5
-