lithammer / NeavUI

Development branch of Neav UI
http://www.wowinterface.com/downloads/info13981-NeavUI.html
MIT License
94 stars 42 forks source link

Mage's arcane charges shows for all specs #309

Open L3n1n opened 3 years ago

L3n1n commented 3 years ago

I found another bug when i played mage. Mage's arcane charges shows for all specs, but it supported for arcane spec only. Arcane is first spec if you will use GetSpecialization().

You can fix this if will add condition check "and GetSpecialization() == 1" to this line:

https://github.com/lithammer/NeavUI/blob/bc6b61557ee7d0ffeadf0e8c75bc623f4cc6f91f/Interface/AddOns/nPower/utils.lua#L34