Quantcast

Fix an issue with nameplates

Jim Whitehead [10-15-20 - 20:34]
Fix an issue with nameplates
Filename
BlizzardFrames.lua
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