mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-07 21:47:30 +01:00
Oops!
This commit fixes a crash.
This commit is contained in:
parent
6f407e1629
commit
2ebd3983e4
2
init.lua
2
init.lua
@ -71,7 +71,7 @@ function tpc_teleport_player(player)
|
|||||||
--parti2(target_coords)
|
--parti2(target_coords)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function find_free_position_near(pos)
|
function find_free_position_near(pos)
|
||||||
local tries = {
|
local tries = {
|
||||||
{x=1,y=0,z=0},
|
{x=1,y=0,z=0},
|
||||||
{x=-1,y=0,z=0},
|
{x=-1,y=0,z=0},
|
||||||
|
Loading…
Reference in New Issue
Block a user