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:
@ -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",
|
||||
|
Reference in New Issue
Block a user