From 0b1eb640168b4952d77142f58d35bb02096f3343 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Wed, 21 Oct 2020 04:40:44 +0200 Subject: [PATCH] ByeByeBuffs: less print spam. --- ByeByeBuffs/ByeByeBuffs.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/ByeByeBuffs/ByeByeBuffs.lua b/ByeByeBuffs/ByeByeBuffs.lua index 77bafe4..c703d0e 100644 --- a/ByeByeBuffs/ByeByeBuffs.lua +++ b/ByeByeBuffs/ByeByeBuffs.lua @@ -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)