mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-19 14:56:02 +01:00
fix quasar crafting stash item removal
This commit is contained in:
@@ -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