Skip to content

Commit

Permalink
Version check is now more thorough
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackluster committed Jul 25, 2024
1 parent e551961 commit 5003c4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end)
event:RegisterEvent("ADDON_LOADED")
event:RegisterEvent("CHAT_MSG_ADDON")
event:RegisterEvent("CHAT_MSG_LOOT")
event:RegisterEvent("GROUP_JOINED")
event:RegisterEvent("GROUP_ROSTER_UPDATE")
event:RegisterEvent("TRANSMOG_COLLECTION_SOURCE_ADDED")

-- Table dump
Expand Down Expand Up @@ -1492,7 +1492,7 @@ function app.SendAddonMessage(message)
end

-- When joining a group
function event:GROUP_JOINED(category, partyGUID)
function event:GROUP_ROSTER_UPDATE(category, partyGUID)
-- Share our AddOn version with other users
local message = "version:"..C_AddOns.GetAddOnMetadata("TransmogLootHelper", "Version")
app.SendAddonMessage(message)
Expand Down

0 comments on commit 5003c4b

Please sign in to comment.