Skip to content

Commit

Permalink
fix(server/inventory): stash coords (#1768)
Browse files Browse the repository at this point in the history
  • Loading branch information
toshko003 authored Aug 16, 2024
1 parent 9512721 commit 5618523
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/inventory/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ local function loadInventoryData(data, player)

if not inventory then
inventory = Inventory.Create(stash.name, stash.label or stash.name, 'stash', stash.slots, 0, stash.maxWeight, owner, nil, stash.groups)

if stash.coords then
inventory.coords = stash.coords
end
end
end
end
Expand Down

0 comments on commit 5618523

Please sign in to comment.