From fd1318d9e1cd8aea2f11214b644fcc3fe3d6a5dd Mon Sep 17 00:00:00 2001 From: LeMagnesium Date: Sun, 15 Nov 2015 14:24:07 -0500 Subject: fix "sand" vacuum tubes not working --- vacuum_tubes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vacuum_tubes.lua b/vacuum_tubes.lua index 2c14781..51f6f81 100644 --- a/vacuum_tubes.lua +++ b/vacuum_tubes.lua @@ -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") -- cgit v1.2.3