reduced owner unlock time for locked chests

This commit is contained in:
kaadmy 2015-10-19 14:06:43 -07:00
parent e109abbc0f
commit a3930835ab
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ minetest.register_node(
if not locks.is_locked(meta, player) then
if locks.is_owner(meta, player) then
-- 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
local np = pos.x .. "," .. pos.y .. "," .. pos.z