Trying Splizard's bugfix

master
Gabriel Pérez-Cerezo 2016-10-09 23:31:28 +02:00
parent eca1e31ab5
commit e399c50d4c
No known key found for this signature in database
GPG Key ID: 90422B01A46D0B3E
1 changed files with 1 additions and 1 deletions

View File

@ -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