From f08ccaf7a8fecb775bc665f34b12663d790f6989 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 3 Nov 2017 21:56:36 +0100 Subject: [PATCH] thirdparty: check for existing fields --- modules/thirdparty.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/thirdparty.lua b/modules/thirdparty.lua index da7fe755..eb22dbb1 100644 --- a/modules/thirdparty.lua +++ b/modules/thirdparty.lua @@ -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)