NameplateCooldowns

NameplateCooldowns

8M Downloads

Lua error when I enter a Battleground or an arena

Dolens opened this issue · 3 comments

commented

Hello,

I got this message everytime I join a BG or an arena :

 Message: ...ace/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2419: attempt to call field '?' (a nil value)
Time: Sat Dec  3 01:52:58 2022
Count: 1
Stack: ...ace/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2419: attempt to call field '?' (a nil value)
[string "@Interface/AddOns/NameplateCooldowns/NameplateCooldowns.lua"]:2419: in function <...ace/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2419>

Locals: self = Frame {
 0 = <userdata>
 PLAYER_TARGET_CHANGED = <function> defined @Interface/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2564
 CHAT_MSG_ADDON = <function> defined @Interface/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2550
 COMBAT_LOG_EVENT_UNFILTERED = <function> defined @Interface/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2422
 NAME_PLATE_UNIT_REMOVED = <function> defined @Interface/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2538
 PLAYER_ENTERING_WORLD = <function> defined @Interface/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2508
 UNIT_AURA = <function> defined @Interface/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2471
 NAME_PLATE_UNIT_ADDED = <function> defined @Interface/AddOns/NameplateCooldowns/NameplateCooldowns.lua:2523
}
event = "PVP_MATCH_ACTIVE"
(*temporary) = nil
(*temporary) = "attempt to call field '?' (a nil value)"

Have a nice day !

commented

Hello,
Thanks for reporting, it's a very nasty bug. It is fixed in 100002.3-release

commented

Hello,
Thanks for the fix ! Yeah, I watched your code and I didn't understand why that line was throwing a bug
Have a nice week end, I love your addon :)

commented

Ah, that’s the bit I left a comment on. Thank for fixing it.