From ba17fc804c35b1b5de47cce8b48741e7246a7517 Mon Sep 17 00:00:00 2001 From: Robbie Ferguson Date: Thu, 19 May 2016 22:30:04 -0400 Subject: [PATCH] Keep testing... not yet stable. --- init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.lua b/init.lua index 068bba0..1666e45 100644 --- a/init.lua +++ b/init.lua @@ -43,6 +43,8 @@ local function find_air(pos,player) local top_node = minetest.get_node(top) while mid_node.name ~= "air" or mid_node.name ~= "ignore" and top_node.name ~= "air" or top_node.name ~= "ignore" do pos.y = pos.y +2 + mid_node = minetest.get_node(mid) + top_node = minetest.get_node(top) end minetest.chat_send_player(sender, "Result: " .. mid)