From 1231dff1519f769b1b2aae0dac1f993174a7e898 Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Wed, 22 Nov 2017 22:09:22 +0100 Subject: [PATCH] Bugfix --- AutoQueueBG.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutoQueueBG.lua b/AutoQueueBG.lua index 4163438..1e5d812 100644 --- a/AutoQueueBG.lua +++ b/AutoQueueBG.lua @@ -83,7 +83,6 @@ end function AutoQueueBG:CheckRaidMember(raidMember) if UnitExists(raidMember) == 1 - and GetUnitName(raidMember) == playerName and UnitIsFriend(raidMember,"player") == 1 and UnitIsDeadOrGhost(raidMember) == nil and UnitInRange(raidMember) == 1 then @@ -196,6 +195,7 @@ function AutoQueueBG:BuffPlayers() if AutoQueueBG:CheckRaidMember(unit) then if AutoQueueBG:BuffDuration(unit, GetSpellInfo(GSDK)) < 15 then BuffPlayer(unit, GSDK) + return; end end end