reduced owner unlock time for locked chests
This commit is contained in:
parent
e109abbc0f
commit
a3930835ab
@ -131,7 +131,7 @@ minetest.register_node(
|
|||||||
if not locks.is_locked(meta, player) then
|
if not locks.is_locked(meta, player) then
|
||||||
if locks.is_owner(meta, player) then
|
if locks.is_owner(meta, player) then
|
||||||
-- also unlock when owner opens for "sharing" locked stuff
|
-- also unlock when owner opens for "sharing" locked stuff
|
||||||
meta:set_float("last_lock_pick", minetest.get_gametime() + picked_time)
|
meta:set_float("last_lock_pick", minetest.get_gametime() + 5)
|
||||||
end
|
end
|
||||||
|
|
||||||
local np = pos.x .. "," .. pos.y .. "," .. pos.z
|
local np = pos.x .. "," .. pos.y .. "," .. pos.z
|
||||||
|
Loading…
Reference in New Issue
Block a user