mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-16 21:46:03 +01:00
Fix getStash forcing fallback functions to run
This commit is contained in:
@@ -2315,7 +2315,7 @@ function getStash(stashName)
|
|||||||
if isStarted(inv.invName) then
|
if isStarted(inv.invName) then
|
||||||
debugPrint("^6Bridge^7: ^2Retrieving ^3"..inv.invName.." ^2Stash^7:", stashName)
|
debugPrint("^6Bridge^7: ^2Retrieving ^3"..inv.invName.." ^2Stash^7:", stashName)
|
||||||
stashItems = inv.getStash(stashName)
|
stashItems = inv.getStash(stashName)
|
||||||
break
|
goto skip
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -2331,7 +2331,7 @@ function getStash(stashName)
|
|||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
::skip::
|
||||||
if stashItems then
|
if stashItems then
|
||||||
for _, item in pairs(stashItems) do
|
for _, item in pairs(stashItems) do
|
||||||
local itemInfo = Items[item.name:lower()]
|
local itemInfo = Items[item.name:lower()]
|
||||||
|
|||||||
Reference in New Issue
Block a user