From b530d600579e50f1ca4c70c7aabd22b0ac9cc7cc Mon Sep 17 00:00:00 2001 From: Christopher Rosell Date: Tue, 25 Feb 2014 16:49:05 +0100 Subject: [PATCH] Always use "player" as unit. --- DamnVESpam.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DamnVESpam.lua b/DamnVESpam.lua index b6d0662..44ef231 100644 --- a/DamnVESpam.lua +++ b/DamnVESpam.lua @@ -11,7 +11,7 @@ addon:SetScript("OnEvent", function(self, e, arg) if (e == "UNIT_AURA" and arg == "player") or (e == "ADDON_LOADED" and arg == addonname) then - if UnitAura(arg, spellname) then + if UnitAura("player", spellname) then SetCVar("CombatHealing", 0) else SetCVar("CombatHealing", 1) -- 1.7.9.5