From 771a2a3217916c7166a25e62c68452343feefe8f Mon Sep 17 00:00:00 2001 From: Jim Shield Date: Tue, 29 Apr 2025 23:26:10 +0100 Subject: [PATCH] fix quasar crafting stash item removal --- shared/stashcontrol.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shared/stashcontrol.lua b/shared/stashcontrol.lua index 9dd1446..028db47 100644 --- a/shared/stashcontrol.lua +++ b/shared/stashcontrol.lua @@ -322,7 +322,7 @@ function stashRemoveItem(stashItems, stashName, items) stashItems[l] = nil else debugPrint("^6Bridge^7: ^2Removing item from ^3Stash^2 with ^7"..QBInv, k, v) - exports[QSInv]:RemoveItemIntoStash(stashName, k, v, l) + exports[QSInv]:RemoveItemIntoStash(stashName[1], k, v, l) end end end @@ -350,6 +350,7 @@ function stashRemoveItem(stashItems, stashName, items) end exports[CodeMInv]:UpdateStash(stashName, stashItems) debugPrint("^6Bridge^7: ^3saveStash^7: ^2Saving ^3CodeM^2 stash ^7'^6"..stashName.."^7'") + elseif isStarted(OrigenInv) then for k, v in pairs(items) do exports[OrigenInv]:RemoveFromStash(stashName, k, v)