diff --git a/chiseling_machine.lua b/chiseling_machine.lua index ee7642f..d4b43bd 100644 --- a/chiseling_machine.lua +++ b/chiseling_machine.lua @@ -36,8 +36,6 @@ minetest.register_node("stripped_tree:chiseling_machine", { on_metadata_inventory_put = function(pos) local meta = minetest.get_meta(pos) local inv = meta:get_inventory() - -- start timer function, it will sort out whether furnace can burn or not. - minetest.get_node_timer(pos):start(1.0) local stack = inv:get_stack("src", 1) local nodename = stack:get_name() local count = stack:get_count() @@ -45,7 +43,6 @@ minetest.register_node("stripped_tree:chiseling_machine", { local has_stripped = minetest.registered_nodes[mod_name..":".."stripped_"..node_name] local dstcount = inv:get_stack("dst",1):get_count() if has_stripped and dstcount < max_stack and dstcount+count