From e399c50d4cdeda11a23655f9cf1eac697ffec5e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Sun, 9 Oct 2016 23:31:28 +0200 Subject: Trying Splizard's bugfix --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 2adcead..7a86e80 100644 --- a/init.lua +++ b/init.lua @@ -44,7 +44,7 @@ local function fetch_lift(pos, node, clicker, rel, i, open_door, plus) end local test = minetest.find_nodes_in_area({x=pos.x-2, y=pos.y+i, z=pos.z-2}, {x=pos.x+2, y=pos.y+i, z=pos.z+2}, "air") - if #test == 16 then + if #test == 9 then minetest.chat_send_player(name, "lift not found, too much air") return end -- cgit v1.2.3