mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-23 13:21:25 +01:00
Update init.lua
This commit is contained in:
parent
abbcd56a6b
commit
31f1ba75a5
2
init.lua
2
init.lua
@ -96,7 +96,7 @@ local function tpc_send(player,coordinates)
|
||||
|
||||
minetest.chat_send_player(player, 'Teleporting to '..posx..','..posy..','..posz)
|
||||
minetest.sound_play("tps_portal", {pos = target_coords, gain = 1.0, max_hear_distance = 10})
|
||||
pname:setpos(target_coords)
|
||||
pname:setpos(find_free_position_near(target_coords))
|
||||
end
|
||||
|
||||
local function tpr_deny(name)
|
||||
|
Loading…
Reference in New Issue
Block a user