milo: lock chest with multiple items
This commit is contained in:
@@ -52,6 +52,7 @@ function itemDB:splitKey(key, item)
|
||||
end
|
||||
|
||||
function itemDB:get(key)
|
||||
if not key then error('itemDB:get: key is required', 2) end
|
||||
if type(key) == 'string' then
|
||||
key = self:splitKey(key)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user