summaryrefslogtreecommitdiff
path: root/autocrafter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'autocrafter.lua')
-rw-r--r--autocrafter.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/autocrafter.lua b/autocrafter.lua
index c608896..d47bef3 100644
--- a/autocrafter.lua
+++ b/autocrafter.lua
@@ -115,10 +115,10 @@ minetest.register_node("pipeworks:autocrafter", {
return (inv:is_empty("src") and inv:is_empty("recipe") and inv:is_empty("dst"))
end,
after_place_node = function(pos)
- tube_scanforobjects(pos)
+ pipeworks.scan_for_tube_objects(pos)
end,
after_dig_node = function(pos)
- tube_scanforobjects(pos)
+ pipeworks.scan_for_tube_objects(pos)
autocrafterCache[minetest.hash_node_position(pos)] = nil
end
})