[mods/default] Fixed a bug causing furnace to update the chunk every tick.

This commit is contained in:
Quentin Bazin 2020-07-18 07:44:49 +02:00
parent fef2d2175a
commit 646fea1b9e

View File

@ -215,7 +215,7 @@ mod:block {
else
item_progress = 0
end
elseif ticks_remaining == 0 then
elseif ticks_remaining == 0 and current_state ~= 0 then
current_burn_time = 0
world:set_block_state(pos.x, pos.y, pos.z, 0)
end