mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-12-01 23:04:46 +00:00
fix quasar crafting stash item removal
This commit is contained in:
1 parent
04b3f87b32
commit
771a2a3217
1 file changed
+2
-1
@@ -322,7 +322,7 @@ function stashRemoveItem(stashItems, stashName, items)
|
|||||||
stashItems[l] = nil
|
stashItems[l] = nil
|
||||||
else
|
else
|
||||||
debugPrint("^6Bridge^7: ^2Removing item from ^3Stash^2 with ^7"..QBInv, k, v)
|
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
|
end
|
||||||
end
|
end
|
||||||
@@ -350,6 +350,7 @@ function stashRemoveItem(stashItems, stashName, items)
|
|||||||
end
|
end
|
||||||
exports[CodeMInv]:UpdateStash(stashName, stashItems)
|
exports[CodeMInv]:UpdateStash(stashName, stashItems)
|
||||||
debugPrint("^6Bridge^7: ^3saveStash^7: ^2Saving ^3CodeM^2 stash ^7'^6"..stashName.."^7'")
|
debugPrint("^6Bridge^7: ^3saveStash^7: ^2Saving ^3CodeM^2 stash ^7'^6"..stashName.."^7'")
|
||||||
|
|
||||||
elseif isStarted(OrigenInv) then
|
elseif isStarted(OrigenInv) then
|
||||||
for k, v in pairs(items) do
|
for k, v in pairs(items) do
|
||||||
exports[OrigenInv]:RemoveFromStash(stashName, k, v)
|
exports[OrigenInv]:RemoveFromStash(stashName, k, v)
|
||||||
|
|||||||
Reference in new issue
Block a user