mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 04:00:02 +00:00
Fix for bug report #6
- Fixes castbar not showing up properly when "ZOOM factor" in nameplates is activated. - Possible fix for nampower error appearing.
This commit is contained in:
@@ -112,7 +112,10 @@ pfUI:RegisterModule("nampower", "vanilla", function ()
|
||||
spellName, spellRank, texture = SpellInfo(spellId)
|
||||
end
|
||||
if not spellName and GetSpellNameAndRankForId then
|
||||
spellName, spellRank = GetSpellNameAndRankForId(spellId)
|
||||
local success, name, rank = pcall(GetSpellNameAndRankForId, spellId)
|
||||
if success then
|
||||
spellName, spellRank = name, rank
|
||||
end
|
||||
end
|
||||
|
||||
if spellName then
|
||||
|
||||
Reference in New Issue
Block a user