From a4b6706f6b37fc06a855b6d077c4cd3d1e782556 Mon Sep 17 00:00:00 2001 From: Jim Whitehead Date: Thu, 15 Oct 2020 22:34:38 +0200 Subject: [PATCH] Fix an issue with nameplates --- BlizzardFrames.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BlizzardFrames.lua b/BlizzardFrames.lua index 9503778..3b8399d 100755 --- a/BlizzardFrames.lua +++ b/BlizzardFrames.lua @@ -165,7 +165,12 @@ local function enable(frame) end -- skip the nameplates, they're TEHBROKEN - if frame and frame.GetName and frame:GetName() and frame:GetName() :match("^NamePlate") then + if frame and frame.GetName and frame:GetName() and frame:GetName():match("^NamePlate") then + return + end + + -- skip the nameplates, new + if frame and frame.GetName and not frame:GetName() then return end -- 1.7.9.5