Skip to content

Commit

Permalink
refactor(server/inventory): RegisterStash supports coords
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Jan 4, 2022
1 parent a4b7133 commit e27bae7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modules/inventory/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1037,18 +1037,17 @@ Inventory.CustomStash = table.create(0, 0)
--- Jobs: { [ox.police] = 0 }
--- ```
local function RegisterStash(id, label, slots, maxWeight, owner, jobs)

if not Inventory.CustomStash[id] then
Inventory.CustomStash[id] = {
name = id,
label = label,
owner = owner,
slots = slots,
weight = maxWeight,
jobs = jobs
jobs = jobs,
coords = coords
}
end

end
exports('RegisterStash', RegisterStash)

Expand Down

0 comments on commit e27bae7

Please sign in to comment.