[SPIGOT-844] Visual bug with furnaces Created: 25/Apr/15  Updated: 21/May/15  Resolved: 21/May/15

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

Type: Bug Priority: Minor
Reporter: Marcos Del Sol Vives Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: bug, entity, furnace, tile, visual

Attachments: Text File TileEntityFurnace.patch    

 Description   

A bug inherited from CraftBukkit.

Currently NMS furnaces check if block is lit by checking burnTime in the tick method, before and after running all the checks. This however prevents CraftFurnace setBurnTime method to light an existing furnace, or to power it off.

Attached patch fixed this by accessing directly the block, which has a really low overhead as it's only done when the visual block is updated.

Note this is a visual effect bug and the burning of items using setBurnTime works fine.



 Comments   
Comment by Marcos Del Sol Vives [ 25/Apr/15 ]

Wrong Jira, sorry. This affects CraftBukkit and Spigot, not BuildTools.

Generated at Mon Apr 21 21:30:33 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.