diff options
author | LeMagnesium <mg.minetest@gmail.com> | 2015-11-15 14:24:07 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2015-11-15 14:24:07 -0500 |
commit | fd1318d9e1cd8aea2f11214b644fcc3fe3d6a5dd (patch) | |
tree | 08145ad43abb7ac28a1fa0f611f1a1726499103d | |
parent | fca10f613d2eb30901ce347eb45cd59aafb5d4b0 (diff) | |
download | pipeworks-fd1318d9e1cd8aea2f11214b644fcc3fe3d6a5dd.tar pipeworks-fd1318d9e1cd8aea2f11214b644fcc3fe3d6a5dd.tar.gz pipeworks-fd1318d9e1cd8aea2f11214b644fcc3fe3d6a5dd.tar.bz2 pipeworks-fd1318d9e1cd8aea2f11214b644fcc3fe3d6a5dd.tar.xz pipeworks-fd1318d9e1cd8aea2f11214b644fcc3fe3d6a5dd.zip |
fix "sand" vacuum tubes not working
-rw-r--r-- | vacuum_tubes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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") |