mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-06 13:07:33 +01:00
Update init.lua
This commit is contained in:
parent
ac8ea289ba
commit
beed2ea017
1
init.lua
1
init.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user