libdebuff: decouple library from unitframes

This commit is contained in:
shagu
2020-06-05 22:59:36 +02:00
parent 266df5967f
commit 4a56c5ee0f
+1 -1
View File
@@ -70,7 +70,7 @@ function libdebuff:GetMaxRank(effect)
end
function libdebuff:UpdateUnits()
if not pfUI.uf.target then return end
if not pfUI.uf or not pfUI.uf.target then return end
pfUI.uf:RefreshUnit(pfUI.uf.target, "aura")
end