1
0
mirror of https://github.com/mt-mods/pipeworks.git synced 2025-06-29 23:00:49 +02:00

make all tubes call the routing functions

using their after_place/after_dig callbacks
This commit is contained in:
Vanessa Ezekowitz
2015-02-07 02:45:17 -05:00
parent e33b662274
commit 364633d884
5 changed files with 19 additions and 24 deletions

View File

@ -105,6 +105,8 @@ if pipeworks.enable_one_way_tube then
end,
priority = 75 -- Higher than normal tubes, but lower than receivers
},
after_place_node = pipeworks.after_place,
after_dig_node = pipeworks.after_dig,
})
minetest.register_craft({
output = "pipeworks:one_way_tube 2",