mojira.dev

Lollopollq

Assigned

No issues.

Reported

No issues.

Comments

Still in 1.19.2.
Unlike what pwouik's last comment seems to imply, buttons and levers don't send the extra updates in their onRemove implementation. The extra updates come from the fact that despite the Level#setBlock call in the button's press and checkPressed methods and in the lever's pull method already send block updates (due to passing Block#UPDATE_ALL = 3 as the update flags), but then the button's / lever's own updateNeighbours method is called right after Level#setBlock, and that sends block updates to the button / lever's direct neighbors again before updating the neighbors of the block the lever / button is attached to.