Plater Nameplates

Plater Nameplates

64M Downloads

`C_ClassTalents.GetActiveConfigID()` returns nil for new characters

KOVIKO opened this issue ยท 1 comments

commented

There's a function isTalentLearned that starts on line 1203 on Plater.lua (in the latest alpha build via CurseForge) that causes a bug when attempting to use C_Traits.GetNodeInfo with a nil config ID. This can be nil on a brand new character (and maybe more than that, I'm not sure), causing an error.

A quick & dirty patch is to break isTalentLearned prematurely with false if C_ClassTalents.GetActiveConfigID() is nil.

commented

Thank you. Fixed with b07661e