unitframes: abort early on non initialized frames

This commit is contained in:
shagu
2017-06-28 21:59:12 +02:00
parent bf2a6c06e4
commit b4967840f5
+1
View File
@@ -538,6 +538,7 @@ end
function pfUI.uf:RefreshUnit(unit, component)
if not unit.label then return end
if not unit.hp then return end
local component = component or ""
-- break early on misconfigured UF's