Bagnon

Bagnon

122M Downloads

8.0.6 error

gilroykilroy opened this issue ยท 3 comments

commented

Clicking the right mouse button on the inventory screen to bring up your bank gives:

Message: ...AddOns\Bagnon\external\Wildpants\components\item.lua:267: attempt to compare number with string
Time: Sun Sep 9 20:02:19 2018
Count: 9
Stack: ...AddOns\Bagnon\external\Wildpants\components\item.lua:267: attempt to compare number with string
[C]: ?
...AddOns\Bagnon\external\Wildpants\components\item.lua:267: in function UpdateBorder' ...AddOns\Bagnon\external\Wildpants\components\item.lua:228: in function Update'
...AddOns\Bagnon\external\Wildpants\components\item.lua:124: in function <...AddOns\Bagnon\external\Wildpants\components\item.lua:119>
[C]: in function Show' ...AddOns\Bagnon\external\Wildpants\components\item.lua:30: in function New'
...s\Bagnon\external\Wildpants\components\itemFrame.lua:119: in function <...s\Bagnon\external\Wildpants\components\itemFrame.lua:108>

Locals:

commented

I can confirm this change to line 167 fixes this problem
elseif Addon.sets.glowQuality and quality and tonumber(quality) > 1 then

commented

P.S. Even 8.0.3 gives that error.

commented

I believe you wanted tonumber(quality) > 1 on that line