Fix a problem not allowing the manual use of the extractor

This commit is contained in:
Novatux 2014-07-04 11:02:50 +02:00
parent 1c64331d33
commit 05de02a70e

View File

@ -138,7 +138,7 @@
local timer = minetest.get_node_timer(pos) local timer = minetest.get_node_timer(pos)
local meta = minetest.get_meta(pos) local meta = minetest.get_meta(pos)
local inv = meta:get_inventory() local inv = meta:get_inventory()
if inv:is_empty(listname) then if inv:get_stack(listname, 1):get_count() == stack:get_count() then -- inv was empty -> start the timer
timer:start(5) --create a honey bottle and empty frame and wax every 5 seconds timer:start(5) --create a honey bottle and empty frame and wax every 5 seconds
end end
end, end,