Merge branch 'master' into master
manavortex [02-12-18 - 16:44]
Merge branch 'master' into master
diff --git a/IIfA/IIfABackpack.lua b/IIfA/IIfABackpack.lua
index 6c95bfb..d9fb2da 100644
--- a/IIfA/IIfABackpack.lua
+++ b/IIfA/IIfABackpack.lua
@@ -601,7 +601,7 @@ function IIfA:GetAccountInventoryList()
if IIfA.data.b_collectHouses then
table.insert(accountInventories, "All Houses")
- for idx, houseName in ipairs(IIfA:GetTrackedHouseNames()) do
+ for idx, houseName in pairs(IIfA:GetTrackedHouseNames()) do
table.insert(accountInventories, houseName)
end
end
diff --git a/IIfA/IIfADataCollection.lua b/IIfA/IIfADataCollection.lua
index c382925..65b8084 100644
--- a/IIfA/IIfADataCollection.lua
+++ b/IIfA/IIfADataCollection.lua
@@ -533,6 +533,7 @@ function IIfA:CollectAll()
local location = EMPTY_STRING
local BagList = IIfA:GetTrackedBags() -- 20.1. mana: Iterating over a list now
+
for bagId, tracked in pairs(BagList) do -- do NOT use ipairs, it's non-linear list (holes in the # sequence)
-- call with libAsync to avoid lags
task:Call(function()