mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-29 17:17:29 +01:00
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)
|
||||
return 0
|
||||
elseif from_list == "output" then
|
||||
inv:set_list("output", {})
|
||||
inv:set_list("recipe", {})
|
||||
on_output_change(pos, inv, nil)
|
||||
if to_list ~= "recipe" then
|
||||
return 0
|
||||
end -- else fall through to recipe list handling
|
||||
|
Loading…
Reference in New Issue
Block a user