AddOnSkins

10M Downloads

AddOn Skins Embeds not working

nhtwolf opened this issue ยท 2 comments

commented

I have Details! embeded in the right chat window and this is not working in the newest version. Looking into this I realized that AddOn Skins was not showing in the listed plugins for ElvUI. Looking into the changes between the older working version and the new non-working one I narrowed it down to be the change in line 55 of Init.lua:
old
AS.MyName = UnitName('player')
new
_, AS.MyName = UnitName('player')

Reverting this corrects the issue. Looking at the API this call should return name and realm but with name being ignored it stores the realm instead. I'm new to Lua/API so this may be intential but wanted to bring it to your attention if not. Thanks for all your work.

commented

Yes, I put it in the wrong location

commented

No worries, thank you so much.