Lua error when I enter a Battleground or an arena
Dolens opened this issue · 3 comments
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 !
Hello,
Thanks for reporting, it's a very nasty bug. It is fixed in 100002.3-release
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 :)