[SPIGOT-1264] BlockFadeEvent improperly called after block is burned Created: 30/Oct/15  Updated: 30/Jun/16  Resolved: 30/Jun/16

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

Type: Bug Priority: Major
Reporter: Andrew Shulman Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: craftbukkit


 Description   

In net.minecraft.server.Block, void fireExtinguished(World, BlockPosition) is a CraftBukkit-added method used to trigger a BlockFadeEvent. It's called from a few places, one of them void a(World, BlockPosition, int, Random, int). This method seems to be involved in a block being destroyed by fire. If the block burn isn't cancelled and we follow the else path, we then try calling fireExtinguished on whatever the combustible block is. I'm seeing BlockFadeEvents being called on wood blocks which doesn't make any sense. Presumably it should be called on the fire, not the fuel.


Generated at Fri Apr 11 15:51:07 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.