mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-11-17 15:58:29 +01:00
Fix tube connection to filters
Tubes did not previously connect to filters when the filters were placed after the tube.
This commit is contained in:
parent
23f889dfbc
commit
d784213a94
@ -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}},
|
||||
|
Loading…
Reference in New Issue
Block a user