mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-07 21:47:30 +01:00
Update init.lua
This commit is contained in:
parent
16262b3b51
commit
9e2de9c995
2
init.lua
2
init.lua
@ -44,6 +44,8 @@ local function find_air(pos,player)
|
|||||||
while mid_node.name ~= "air" or mid_node.name ~= "ignore" and top_node.name ~= "air" or top_node.name ~= "ignore" do
|
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
|
pos.y = pos.y +2
|
||||||
end
|
end
|
||||||
|
minetest.chat_send_player(sender, "Result: " .. mid)
|
||||||
|
|
||||||
return mid
|
return mid
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user