Update init.lua

This commit is contained in:
Panquesito7 2019-07-10 17:17:57 -05:00 committed by GitHub
parent ac8ea289ba
commit beed2ea017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -205,7 +205,6 @@ function tpc_send(player,coordinates)
end
local function tpr_deny(name)
if minetest.check_player_privs(name, {tp_admin = true}) then return end
if tpr_list[name] then
minetest.chat_send_player(tpr_list[name], 'Teleport request denied.')
tpr_list[name] = nil