mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
nameplates: fix nil error
This commit is contained in:
@@ -320,7 +320,9 @@ pfUI:RegisterModule("nameplates", function ()
|
||||
healthbar.castbar.spell:SetText("")
|
||||
end
|
||||
healthbar.castbar:Show()
|
||||
frame.debuffs[1]:SetPoint("TOPLEFT", healthbar.castbar, "BOTTOMLEFT", 0, -3)
|
||||
if frame.debuffs then
|
||||
frame.debuffs[1]:SetPoint("TOPLEFT", healthbar.castbar, "BOTTOMLEFT", 0, -3)
|
||||
end
|
||||
|
||||
if pfUI.castbar.target.casterDB[name:GetText()]["icon"] then
|
||||
healthbar.castbar.icon:SetTexture("Interface\\Icons\\" .. pfUI.castbar.target.casterDB[name:GetText()]["icon"])
|
||||
|
||||
Reference in New Issue
Block a user