ByeByeBuffs: less print spam.

This commit is contained in:
Casper V. Kristensen 2020-10-21 04:40:44 +02:00
parent b582d6b602
commit 0b1eb64016
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -50,10 +50,7 @@ frame:RegisterEvent("PLAYER_ENTERING_WORLD")
frame:SetScript("OnEvent", function(self, event, ...)
local isWorldBuffed = IsInRaid() and UnitAura("player", 18, "HELPFUL") -- simply checks for more than 18 buffs
if isWorldBuffed then
print(("%s: World-buffed."):format(ByeByeBuffs.title))
return button:SetAttribute("macrotext", cancelBlacklistedAurasMacro)
end
print(("%s: not World-buffed."):format(ByeByeBuffs.title))
return button:SetAttribute("macrotext", "/stopmacro")
end)