Skip to content

Commit

Permalink
Fixed the version check actually working >,>
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackluster committed Jul 25, 2024
1 parent b54071a commit 062924d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ event:SetScript("OnEvent", function(self, event, ...)
end)
event:RegisterEvent("ADDON_LOADED")
event:RegisterEvent("CHAT_MSG_ADDON")
event:RegisterEvent("GROUP_ROSTER_UPDATE")
event:RegisterEvent("QUEST_TURNED_IN")

-- Table dump
Expand Down Expand Up @@ -681,7 +682,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("EquipRecommendedGear", "Version")
app.SendAddonMessage(message)
Expand Down

0 comments on commit 062924d

Please sign in to comment.