mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2024-08-20 05:14:05 +02:00
Move some TPR functions...
...to "config.lua".
This commit is contained in:
parent
6054324e72
commit
05797f2252
@ -27,6 +27,8 @@ local S, NS = dofile(MP.."/intllib.lua")
|
||||
timeout_delay = 60
|
||||
version = "1.5"
|
||||
|
||||
chatmsg, source, target, name2,
|
||||
|
||||
map_size = 30912
|
||||
function can_teleport(to)
|
||||
return to.x < map_size and to.x > -map_size and to.y < map_size and to.y > -map_size and to.z < map_size and to.z > -map_size
|
||||
|
Loading…
Reference in New Issue
Block a user