mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2024-08-20 21:34:06 +02:00
Fix request timeout
This commit is contained in:
parent
75c3718b15
commit
5d56e134d2
8
init.lua
8
init.lua
@ -86,7 +86,7 @@ function tpr_send(sender, receiver)
|
|||||||
if tpr_list[name] then
|
if tpr_list[name] then
|
||||||
tpr_list[name] = nil
|
tpr_list[name] = nil
|
||||||
end
|
end
|
||||||
end, sender)
|
end, receiver)
|
||||||
if receiver == "" then
|
if receiver == "" then
|
||||||
minetest.chat_send_player(sender, S("Usage: /tpr <Player name>"))
|
minetest.chat_send_player(sender, S("Usage: /tpr <Player name>"))
|
||||||
return
|
return
|
||||||
@ -121,7 +121,7 @@ function tpr_send(sender, receiver)
|
|||||||
if tpr_list[name] then
|
if tpr_list[name] then
|
||||||
tpr_list[name] = nil
|
tpr_list[name] = nil
|
||||||
end
|
end
|
||||||
end, sender)
|
end, receiver)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ function tphr_send(sender, receiver)
|
|||||||
if tphr_list[name] then
|
if tphr_list[name] then
|
||||||
tphr_list[name] = nil
|
tphr_list[name] = nil
|
||||||
end
|
end
|
||||||
end, sender)
|
end, receiver)
|
||||||
if receiver == "" then
|
if receiver == "" then
|
||||||
minetest.chat_send_player(sender, S("Usage: /tphr <Player name>"))
|
minetest.chat_send_player(sender, S("Usage: /tphr <Player name>"))
|
||||||
return
|
return
|
||||||
@ -168,7 +168,7 @@ function tphr_send(sender, receiver)
|
|||||||
if tphr_list[name] then
|
if tphr_list[name] then
|
||||||
tphr_list[name] = nil
|
tphr_list[name] = nil
|
||||||
end
|
end
|
||||||
end, sender)
|
end, receiver)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user