summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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