diff options
author | VanessaE <vanessaezekowitz@gmail.com> | 2013-04-01 17:21:38 -0700 |
---|---|---|
committer | VanessaE <vanessaezekowitz@gmail.com> | 2013-04-01 17:21:38 -0700 |
commit | 7e328b1d11d9b09953c332025bac14e935a6fb30 (patch) | |
tree | 9823fb0acba2b1eaa11a0a090ee79cfcdbe947a9 /item_transport.lua | |
parent | c88e8639eab9c01d395ee99f8d9467af57105929 (diff) | |
parent | d784213a946a903b4aa1d57d93313564c5466348 (diff) | |
download | pipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.tar pipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.tar.gz pipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.tar.bz2 pipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.tar.xz pipeworks-7e328b1d11d9b09953c332025bac14e935a6fb30.zip |
Merge pull request #23 from Uberi/master
Fix deployer in latest minetest.
Diffstat (limited to 'item_transport.lua')
-rw-r--r-- | item_transport.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/item_transport.lua b/item_transport.lua index 305a459..b277e2d 100644 --- a/item_transport.lua +++ b/item_transport.lua @@ -30,6 +30,9 @@ minetest.register_node("pipeworks:filter", { local inv = meta:get_inventory() return inv:is_empty("main") end, + after_place_node = function(pos) + tube_scanforobjects(pos) + end, mesecons={effector={action_on=function(pos,node) minetest.registered_nodes[node.name].on_punch(pos,node,nil) end}}, @@ -470,4 +473,4 @@ function go_next(pos,velocity,stack) velocity.z=chests[n].vect.z*speed end return 1 -end
\ No newline at end of file +end |