forked from mtcontrib/pipeworks
call after_recipe_change also when moving the output item to src or dst to stop the crafter as expected
This commit is contained in:
parent
197e433f49
commit
b009e46590
|
@ -291,8 +291,7 @@ minetest.register_node("pipeworks:autocrafter", {
|
||||||
on_output_change(pos, inv, stack)
|
on_output_change(pos, inv, stack)
|
||||||
return 0
|
return 0
|
||||||
elseif from_list == "output" then
|
elseif from_list == "output" then
|
||||||
inv:set_list("output", {})
|
on_output_change(pos, inv, nil)
|
||||||
inv:set_list("recipe", {})
|
|
||||||
if to_list ~= "recipe" then
|
if to_list ~= "recipe" then
|
||||||
return 0
|
return 0
|
||||||
end -- else fall through to recipe list handling
|
end -- else fall through to recipe list handling
|
||||||
|
|
Loading…
Reference in New Issue
Block a user