Update init.lua

This commit is contained in:
Robbie Ferguson 2016-05-10 14:18:03 -04:00
parent abbcd56a6b
commit 31f1ba75a5

@ -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)