[SPIGOT-6962] EntityChangeBlockEvent no longer called when FallingBlockEntity starts to fall Created: 10/Mar/22 Updated: 25/Dec/24 Resolved: 11/Mar/22 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Deerjump | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 1.18.2, Change, Events, breaking, bug, events, spigot | ||
| Attachments: |
|
| Version: | CraftBukkit version 3453-Spigot-ffceeae-64db512 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT) |
| Guidelines Read: | Yes |
| Description |
|
In previous versions, the EntityChangeBlockEvent was called when a block (ie, sand, gravel, etc), started to fall. However, as of 1.18.2, that event is no longer called at the start of the FallingBlockEntity's lifecycle. It is only called when the entity lands and turns back into a block. The code that called the event in FallingBlockEntity#tick() has been removed for some reason. |
| Comments |
| Comment by Black Hole [ 10/Mar/22 ] |
|
I've created pull request 1026 in CB to fix this issue. |