Fix a critical bug

This commit fixes a crash.
This commit is contained in:
Panquesito7 2019-07-25 17:39:58 -05:00 committed by GitHub
parent 77f0160961
commit fb4a5fe25a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)"),