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
c9325322a8
commit
33c81b3d72
2
init.lua
2
init.lua
@ -41,7 +41,7 @@ local function find_air(pos,player)
|
|||||||
local top = {pos.x, pos.y+1, pos.z}
|
local top = {pos.x, pos.y+1, pos.z}
|
||||||
local mid_node = minetest.get_node(mid)
|
local mid_node = minetest.get_node(mid)
|
||||||
local top_node = minetest.get_node(top)
|
local top_node = minetest.get_node(top)
|
||||||
while
|
for
|
||||||
mid_node.name ~= "air" or mid_node.name ~= "ignore" and
|
mid_node.name ~= "air" or mid_node.name ~= "ignore" and
|
||||||
top_node.name ~= "air" or top_node.name ~= "ignore" do
|
top_node.name ~= "air" or top_node.name ~= "ignore" do
|
||||||
pos.y = pos.y +2
|
pos.y = pos.y +2
|
||||||
|
Loading…
Reference in New Issue
Block a user