mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-02-23 14:40:22 +01:00
[pipeworks] Fix sand tubes
This commit is contained in:
parent
af27321751
commit
a296193b91
@ -112,7 +112,7 @@ minetest.register_abm({nodenames = {"group:vacuum_tube"},
|
||||
chance = 1,
|
||||
label = "Vacuum tubes",
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
if node.name == "pipeworks:sand_tube" then
|
||||
if node.name:find("pipeworks:sand_tube") then
|
||||
vacuum(pos, 2)
|
||||
else
|
||||
local radius = minetest.get_meta(pos):get_int("dist")
|
||||
|
Loading…
x
Reference in New Issue
Block a user