From 04e489bc2cc7b3e004e9e76b0f21121933c6360e Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 2 Aug 2019 17:38:26 +0200 Subject: [PATCH] nameplates: disable modern click handlers for tbc --- modules/nameplates.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nameplates.lua b/modules/nameplates.lua index 39aca9fb..607dfd82 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -70,7 +70,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function () end -- init - if C.nameplates["legacy"] == "0" then + if C.nameplates["legacy"] == "0" and pfUI.expansion == "vanilla" then this:SetFrameLevel(0) this:EnableMouse(false) end @@ -79,7 +79,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function () if C.nameplates.overlap == "1" and C.nameplates["legacy"] == "0" then this:SetWidth(1) this:SetHeight(1) - else + elseif pfUI.expansion == "vanilla" then this:SetWidth(plate_width * UIParent:GetScale()) this:SetHeight(plate_height * UIParent:GetScale()) end