Fix: Lua error
Alar of Runetotem [11-27-16 - 17:36]
Fix: Lua error
Message: ..\AddOns\GarrisonCommander\FollowerPage.lua line 329:
attempt to call global 'kpairs' (a nil value)
diff --git a/FollowerPage.lua b/FollowerPage.lua
index f547e7c..3547341 100644
--- a/FollowerPage.lua
+++ b/FollowerPage.lua
@@ -6,6 +6,7 @@ local addon=ns.addon --#addon
local factory=addon:GetFactory()
local wipe=wipe
local pairs=pairs
+local kpairs=addon:GetKpairs()
local tinsert=tinsert
local coroutine=coroutine
local GetItemInfo=GetItemInfo
@@ -326,6 +327,7 @@ function module:GarrisonTraitCountersFrame_OnLoad(this, tooltipString)
if #list > 0 then wipe(list) end
local done
local i=0
+ print("Using",kpairs)
for k,v in kpairs(ns.catTable) do
if not done then
done=true