forked from mtcontrib/pipeworks
misc fixed
This commit is contained in:
parent
8e4d444a70
commit
9a9bd2f491
@ -179,13 +179,13 @@ pipeworks.register_tube = function(name, desc, plain, noctrs, ends, short, inv,
|
|||||||
basename = name,
|
basename = name,
|
||||||
inventory_image = inv,
|
inventory_image = inv,
|
||||||
wield_image = inv,
|
wield_image = inv,
|
||||||
paramtype = light,
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
description = "Pneumatic tube segment (legacy)",
|
description = "Pneumatic tube segment (legacy)",
|
||||||
after_place_node = function(pos)
|
after_place_node = function(pos)
|
||||||
pipeworks.scan_for_tube_objects(pos)
|
pipeworks.scan_for_tube_objects(pos)
|
||||||
if minetest.registered_nodes[name.."_compatibility"].after_place_node_ then
|
if minetest.registered_nodes[name.."_1"].after_place_node_ then
|
||||||
minetest.registered_nodes[name.."_compatibility"].after_place_node_(pos)
|
minetest.registered_nodes[name.."_1"].after_place_node_(pos)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
groups = {not_in_creative_inventory = 1, tube_to_update = 1},
|
groups = {not_in_creative_inventory = 1, tube_to_update = 1},
|
||||||
|
Loading…
Reference in New Issue
Block a user