From 4dc519e2a06c327e9cc1d9cf7840be958c1037c1 Mon Sep 17 00:00:00 2001 From: toshko Date: Wed, 14 Aug 2024 23:13:05 +0300 Subject: [PATCH] fix(modules/inventory): stash coords --- modules/inventory/server.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/inventory/server.lua b/modules/inventory/server.lua index abeda40fbc..29e50fe2ee 100644 --- a/modules/inventory/server.lua +++ b/modules/inventory/server.lua @@ -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