nameplates: only access frame if name is defined

This commit is contained in:
shagu
2019-03-31 14:57:13 +02:00
parent ee86bf499b
commit 2fb7828bfd
+1 -1
View File
@@ -47,7 +47,7 @@ pfUI:RegisterModule("nameplates", function ()
if NAMEPLATE_OBJECTORDER[i] == "_" then
frame.Show = function() return end
frame:Hide()
else
elseif NAMEPLATE_OBJECTORDER[i] then
this[NAMEPLATE_OBJECTORDER[i]] = frame
end
end