mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-21 12:21:25 +01: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
|
||||
version = "1.5"
|
||||
|
||||
chatmsg, source, target, name2, target_coords,
|
||||
|
||||
-- Enable tpp command
|
||||
enable_tpp_command = false
|
||||
local chatmsg, source, target, name2, target_coords
|
||||
|
||||
-- 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 = {
|
||||
@ -38,6 +35,9 @@ available_places = {
|
||||
shop = {x = 0, y = 0, z = 0}, -- Set coordinates of the shop here.
|
||||
}
|
||||
|
||||
-- Enable tpp command
|
||||
enable_tpp_command = false
|
||||
|
||||
-- Register privileges
|
||||
minetest.register_privilege("tp", {
|
||||
description = S("Let players teleport to other players (request will be sent)"),
|
||||
|
Loading…
Reference in New Issue
Block a user