Fix another bug (#1)

Fixes BlockySurvival/issue-tracker#133.
This commit is contained in:
Panquesito7 2019-08-17 01:48:02 -05:00 committed by luk3yx
parent e652b37170
commit e57cd76367
2 changed files with 3 additions and 3 deletions

@ -106,7 +106,7 @@ tp_enable_tpp_command = false
```
Those values are the default values of the mod.
You can also go to your Minetest, Settings tab, All settings, Mods, and you'll find `tpr` there.
Or another way to do it, is changing the values in `settingstypes.txt`.
Or another way to do it, is changing the values in `settingtypes.txt`.
## Installation
- Unzip the archive, rename the folder to tpr and

@ -194,7 +194,7 @@ function tp.tpr_send(sender, receiver)
chat2.send_message(minetest.get_player_by_name(sender), S("Teleport request sent! It will timeout in @1 seconds", tp.timeout_delay), 0xFFFFFF)
end
minetest.chat_send_player(receiver, S("@1 is requesting to teleport to you. /tpy to accept", sender))
minetest.chat_send_player(sender, S("Teleport request sent! It will timeout in @1 seconds", timeout_delay))
minetest.chat_send_player(sender, S("Teleport request sent! It will timeout in @1 seconds", tp.timeout_delay))
-- Write name values to list and clear old values.
tp.tpr_list[receiver] = sender
-- Teleport timeout delay
@ -266,7 +266,7 @@ function tp.tphr_send(sender, receiver)
chat2.send_message(minetest.get_player_by_name(sender), S("Teleport request sent! It will timeout in @1 seconds", tp.timeout_delay), 0xFFFFFF)
end
minetest.chat_send_player(receiver, S("@1 is requesting that you teleport to them. /tpy to accept; /tpn to deny", sender))
minetest.chat_send_player(sender, S("Teleport request sent! It will timeout in @1 seconds", timeout_delay))
minetest.chat_send_player(sender, S("Teleport request sent! It will timeout in @1 seconds", tp.timeout_delay))
-- Write name values to list and clear old values.
tp.tphr_list[receiver] = sender
-- Teleport timeout delay