mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-06 13:07:33 +01:00
Keep testing... not yet stable.
This commit is contained in:
parent
9e2de9c995
commit
ba17fc804c
2
init.lua
2
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user