Skip to content
Browse files

Start timer as well when moving items around.

It's possible to hit this when using an e.g. charcoal mod
where a tree is both a fuel and a source.
  • Loading branch information
sofar authored and paramat committed Mar 30, 2016
1 parent 787ccb5 commit 4d7dbfc826510e017f1ff167de0fbc78bb7f8ed3
Showing with 4 additions and 0 deletions.
  1. +4 −0 mods/default/furnace.lua
@@ -251,6 +251,10 @@ minetest.register_node("default:furnace", {
inv:set_size('dst', 4)

on_metadata_inventory_move = function(pos)
local timer = minetest.get_node_timer(pos)
on_metadata_inventory_put = function(pos)
-- start timer function, it will sort out whether furnace can burn or not.
local timer = minetest.get_node_timer(pos)

0 comments on commit 4d7dbfc

Please sign in to comment.