CharacterStatsPane Improved

CharacterStatsPane Improved

799 Downloads

Lua error when mousing over "Gear Checks" with everything enchanted

Closed this issue ยท 2 comments

commented

If my character has all 27/27 slots enchanted & tinkered and I mouse over "Gear Checks: 27/27", there's a lua error.

12x ...faceCharacterStatsPaneImproved/utilities.lua:5: bad argument #1 to 'pairs' (table expected, got nil)
[string "=[C]"]: in function `pairs'
[string "@CharacterStatsPaneImproved/utilities.lua"]:5: in function `tCount'
[string "@CharacterStatsPaneImproved/newstats.lua"]:431: in function <...rfaceCharacterStatsPaneImproved/newstats.lua:426>

Locals:
(*temporary) = nil
(*temporary) = "table expected, got nil"
 = <function> defined =[C]:-1
commented

Thanks I'll have a fix shortly.

Edit: On second thought, are you sure you are on latest version? (1.2.6)
That error doesn't correspond to current code.

commented

Ok line was wrong (older version) but error is valid, fix incoming.