Skip to content

Commit

Permalink
Fix #6: Don't show raid loot rolls in loot feed
Browse files Browse the repository at this point in the history
  • Loading branch information
Mctalian committed Aug 15, 2024
1 parent e7f5bd5 commit c11d37c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RPGLootFeed.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ function RLF:CURRENCY_DISPLAY_UPDATE(eventName, currencyType, quantity, quantity
end

function RLF:CHAT_MSG_LOOT(eventName, msg)
local raidLoot = msg:match("HlootHistory:")
if raidLoot then
-- Ignore this message as it's a raid loot message
return
end
-- This will not work if another addon is overriding formatting globals like LOOT_ITEM, LOOT_ITEM_MULTIPLE, etc.
local notSelf = msg:match("receives")
if notSelf ~= null then
Expand Down

0 comments on commit c11d37c

Please sign in to comment.