From 3c09dd2f343dd25ce90aea089ed75c99ab07f280 Mon Sep 17 00:00:00 2001 From: "M. David" Date: Fri, 19 Aug 2022 15:07:56 +0200 Subject: [PATCH] Minor bugfix --- LegionWA/AutoLootDisplay/Event.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/LegionWA/AutoLootDisplay/Event.lua b/LegionWA/AutoLootDisplay/Event.lua index 59803ac..a87e0f7 100644 --- a/LegionWA/AutoLootDisplay/Event.lua +++ b/LegionWA/AutoLootDisplay/Event.lua @@ -1,7 +1,8 @@ -- CHAT_MSG_LOOT function(allstates, e, msg) - aura_env.allstates = allstates - - aura_env.drawIcon(msg) - return true + if (msg:match("You receive loot")) then + aura_env.allstates = allstates + aura_env.drawIcon(msg) + return true + end end