mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-25 18:30:23 +01:00
fix "sand" vacuum tubes not working
This commit is contained in:
parent
fca10f613d
commit
fd1318d9e1
@ -112,7 +112,7 @@ minetest.register_abm({nodenames = {"group:vacuum_tube"},
|
|||||||
chance = 1,
|
chance = 1,
|
||||||
label = "Vacuum tubes",
|
label = "Vacuum tubes",
|
||||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
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)
|
vacuum(pos, 2)
|
||||||
else
|
else
|
||||||
local radius = minetest.get_meta(pos):get_int("dist")
|
local radius = minetest.get_meta(pos):get_int("dist")
|
||||||
|
Loading…
Reference in New Issue
Block a user