mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-11-07 19:10:23 +01:00
Set the home cooldown to 20 minutes
20*60
This commit is contained in:
parent
f2da93525a
commit
508772b0df
|
@ -4,7 +4,7 @@ home.homes_file = {["real"] = minetest.get_worldpath() .. "/realhomes",
|
||||||
["nether"] = minetest.get_worldpath() .. "/netherhomes"}
|
["nether"] = minetest.get_worldpath() .. "/netherhomes"}
|
||||||
home.homepos = {["real"] = {}, ["nether"] = {}}
|
home.homepos = {["real"] = {}, ["nether"] = {}}
|
||||||
home.timers = {}
|
home.timers = {}
|
||||||
home.HOME_INTERVAL = 30*60
|
home.HOME_INTERVAL = 20*60
|
||||||
|
|
||||||
home.sethome = function(name)
|
home.sethome = function(name)
|
||||||
local player = minetest.env:get_player_by_name(name)
|
local player = minetest.env:get_player_by_name(name)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user