mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
thirdparty: check for existing fields
This commit is contained in:
@@ -641,7 +641,7 @@ pfUI:RegisterModule("thirdparty", function ()
|
||||
|
||||
function pfUI.healComm.onEventRes(unitname)
|
||||
for _, f in pairs(pfUI.uf.frames) do
|
||||
if UnitName(f.label .. f.id) == unitname then
|
||||
if f.label and f.id and UnitName(f.label .. f.id) == unitname then
|
||||
|
||||
if not f.ressIcon then
|
||||
f.ressIcon = CreateFrame("Frame", nil, f.hp.bar)
|
||||
|
||||
Reference in New Issue
Block a user