mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 10:40:48 +00:00
nameplates: only access frame if name is defined
This commit is contained in:
@@ -47,7 +47,7 @@ pfUI:RegisterModule("nameplates", function ()
|
|||||||
if NAMEPLATE_OBJECTORDER[i] == "_" then
|
if NAMEPLATE_OBJECTORDER[i] == "_" then
|
||||||
frame.Show = function() return end
|
frame.Show = function() return end
|
||||||
frame:Hide()
|
frame:Hide()
|
||||||
else
|
elseif NAMEPLATE_OBJECTORDER[i] then
|
||||||
this[NAMEPLATE_OBJECTORDER[i]] = frame
|
this[NAMEPLATE_OBJECTORDER[i]] = frame
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user