From a66884d7080cc444b4e86cf71ac73180314f626d Mon Sep 17 00:00:00 2001 From: Merathilis Date: Mon, 3 Dec 2018 12:24:35 +0100 Subject: [PATCH] Use new WoW API C_PaperDollInfo.OffhandHasWeapon() --- Interface/AddOns/RayUI/modules/reminder/reminder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Interface/AddOns/RayUI/modules/reminder/reminder.lua b/Interface/AddOns/RayUI/modules/reminder/reminder.lua index 65f62da1..131823c2 100644 --- a/Interface/AddOns/RayUI/modules/reminder/reminder.lua +++ b/Interface/AddOns/RayUI/modules/reminder/reminder.lua @@ -197,7 +197,7 @@ function RM:ReminderIcon_OnEvent(event, unit) --Negate Spells Check if db.negateGroup and RM:PlayerHasFilteredBuff(self, db.negateGroup) and not self.ForceShow then return end - local hasOffhandWeapon = OffhandHasWeapon() + local hasOffhandWeapon = C_PaperDollInfo.OffhandHasWeapon() local hasMainHandEnchant, _, _, hasOffHandEnchant, _, _ = GetWeaponEnchantInfo() local hasBuff, hasDebuff if db.spellGroup and not db.CDSpell then