Trying Splizard's bugfix
parent
eca1e31ab5
commit
e399c50d4c
2
init.lua
2
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
|
||||
|
|
Loading…
Reference in New Issue