mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 05:50:50 +00:00
nameplates: fix nil error
This commit is contained in:
@@ -320,7 +320,9 @@ pfUI:RegisterModule("nameplates", function ()
|
|||||||
healthbar.castbar.spell:SetText("")
|
healthbar.castbar.spell:SetText("")
|
||||||
end
|
end
|
||||||
healthbar.castbar:Show()
|
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
|
if pfUI.castbar.target.casterDB[name:GetText()]["icon"] then
|
||||||
healthbar.castbar.icon:SetTexture("Interface\\Icons\\" .. pfUI.castbar.target.casterDB[name:GetText()]["icon"])
|
healthbar.castbar.icon:SetTexture("Interface\\Icons\\" .. pfUI.castbar.target.casterDB[name:GetText()]["icon"])
|
||||||
|
|||||||
Reference in New Issue
Block a user