Bagnon

Bagnon

122M Downloads

Bagnon:UpdateFrames() causes error

ckaotik opened this issue ยท 1 comments

commented

I've been using this to update the junk indicator in Broker_Garbage. Since 6.0 it started throwing these errors.

47x Bagnon\main.lua:86: attempt to index field 'itemFrame' (a nil value)
Bagnon\main.lua:86: in function 'UpdateFrames

Removing .itemFrame fixes the issue.

function Addon:UpdateFrames()
    for _,frame in pairs(self.frames) do
        frame:UpdateEverything()
    end
end
commented

Good catch!