9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-28 11:29:11 +00:00
Files
Leaf/leaf-server/minecraft-patches/features
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
..
2025-04-02 22:16:16 -04:00
2025-04-02 22:16:16 -04:00