summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-10-09 23:31:28 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2016-10-09 23:31:28 +0200
commite399c50d4cdeda11a23655f9cf1eac697ffec5e5 (patch)
tree05ff24cbff709c1dae6b64bfb01824ba2eb95602
parenteca1e31ab583d99266be6eaba8042934138815dc (diff)
Trying Splizard's bugfixHEADmaster/bugfixbugfix
-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