[SPIGOT-2405] EntityCombustEvent called instead of EntityCombustByBlockEvent Created: 12/Jun/16  Updated: 15/Jun/16  Resolved: 15/Jun/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: MrBlobman Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: Craftbukkit, event


 Description   

In the Entity class the move(double, double, double) method calls an EntityCombustEvent if the entity combusts due to standing in fire or lava based on the return value from World#f(AxisAlignedBB). I understand that there is not really an easy way to grab the associated block that does the damage as quite a few locations are checked when the call to f() is made and it only returns a boolean but I would prefer the correct event to be called with a null block rather than a generic combustion event. This behavior would then be consistent with the combustion event is called in Entity#burnFromLava().


Generated at Tue Mar 18 21:01:40 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.