mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2024-10-04 00:33:17 +02:00
Fix a critical bug
This commit fixes a crash.
This commit is contained in:
parent
77f0160961
commit
fb4a5fe25a
@ -27,10 +27,7 @@ local S, NS = dofile(MP.."/intllib.lua")
|
|||||||
timeout_delay = 60
|
timeout_delay = 60
|
||||||
version = "1.5"
|
version = "1.5"
|
||||||
|
|
||||||
chatmsg, source, target, name2, target_coords,
|
local chatmsg, source, target, name2, target_coords
|
||||||
|
|
||||||
-- Enable tpp command
|
|
||||||
enable_tpp_command = false
|
|
||||||
|
|
||||||
-- Set the values of the positions of your places, players will be able to teleport to them (no matter if it is protected, or not).
|
-- Set the values of the positions of your places, players will be able to teleport to them (no matter if it is protected, or not).
|
||||||
available_places = {
|
available_places = {
|
||||||
@ -38,6 +35,9 @@ available_places = {
|
|||||||
shop = {x = 0, y = 0, z = 0}, -- Set coordinates of the shop here.
|
shop = {x = 0, y = 0, z = 0}, -- Set coordinates of the shop here.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- Enable tpp command
|
||||||
|
enable_tpp_command = false
|
||||||
|
|
||||||
-- Register privileges
|
-- Register privileges
|
||||||
minetest.register_privilege("tp", {
|
minetest.register_privilege("tp", {
|
||||||
description = S("Let players teleport to other players (request will be sent)"),
|
description = S("Let players teleport to other players (request will be sent)"),
|
||||||
|
Loading…
Reference in New Issue
Block a user