NeedGreed - Error on login
Flupperich opened this issue ยท 4 comments
Getting this error message from time to time, most often after just logging in
...dStar\Addons\ForgeUI_NeedGreed\ForgeUI_NeedGreed.lua:143: attempt to index a nil value
stack trace:
...dStar\Addons\ForgeUI_NeedGreed\ForgeUI_NeedGreed.lua:143: in function <...dStar\Addons\ForgeUI_NeedGreed\ForgeUI_NeedGreed.lua:142>
I guess we need to increase the PlayerNameCheckTimer counter then (line 80). It's an error when we try to grab the player's name, but that value hasn't initialized yet.
I would check if GameLib.GetPlayerUnit() is nil and if yes start the PlayerNameCheckTimer again. Doesn't need to be propper fix. In v0.5 this is solved by proper timing of ForgeUI addons loading.
BTW welcome back @Toludin :)