From 2d48f3a24c062d3b74813b1f46bd5b0c528efbb1 Mon Sep 17 00:00:00 2001 From: Parnic Date: Thu, 7 Jun 2018 00:24:50 -0500 Subject: [PATCH] Don't show castbar "show rank" option on BfA All the spellcasting event callbacks need their signatures changed, but I can't cleanly do that without breaking Legion compatibility. So that will have to wait, I think. Castbars seem to be working for now... The simplest solution is probably to register different callbacks for BfA versus pre-BfA, but that seems ugly. --- IceCastBar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IceCastBar.lua b/IceCastBar.lua index 36d3b7b..3339918 100644 --- a/IceCastBar.lua +++ b/IceCastBar.lua @@ -91,7 +91,7 @@ function IceCastBar.prototype:GetOptions() end, order = 39.998 } - +if IceHUD.WowVer < 80000 then opts["showSpellRank"] = { type = 'toggle', @@ -108,7 +108,7 @@ function IceCastBar.prototype:GetOptions() end, order = 39.999 } - +end opts["iconSettings"] = { type = 'group', name = "|c"..self.configColor..L["Icon Settings"].."|r",