9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-23 17:09:29 +00:00
Commit Graph

1 Commits

Author SHA1 Message Date
Dreeam
01b1d66797 Fix Fix some beacon event issues
In 1.21.5, mojang split the `onRemove` logic in `LevelChunk#setBlockState` to 3 steps,
`preRemoveSideEffects`, then remove block entity, then do `affectNeighborsAfterRemoval`.
beacon deactive call event should move to step 1 instead 3, to keep ollow the original fix logic.

Also always call deactive event on everytime beacon gets removed, to follow the Paper's behavior.
2025-06-11 20:05:38 +08:00