Skip to content

Commit

Permalink
7.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuild committed Mar 9, 2024
1 parent 4a96b51 commit 90d4dfd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### Changelog

#### 7.0.6
#### 7.0.7

* Updated database!
* Hopefully Fixed "You aren't in a party." message appearing
9 changes: 7 additions & 2 deletions scripts/methods.lua
Original file line number Diff line number Diff line change
Expand Up @@ -618,17 +618,22 @@ function GatherLite:Load()

--LibStub("AceConfig-3.0"):RegisterOptionsTable("GatherLite: Profiles", LibStub("AceDBOptions-3.0"):GetOptionsTable(GatherLite.db))
--LibStub("AceConfigDialog-3.0"):AddToBlizOptions("GatherLite: Profiles", "Profiles", "GatherLite");

end

function GatherLite:SendVersionCheck()
if IsInGuild() then
GatherLite:SendCommMessage(_GatherLite.name .. "Ver", GatherLite:Serialize(_GatherLite.version), "GUILD")
end

if IsInGroup() and not IsActiveBattlefieldArena() then
local inInstance, instanceType = IsInInstance()

if instanceType == "pvp" then
GatherLite:SendCommMessage(_GatherLite.name .. "Ver", GatherLite:Serialize(_GatherLite.version), "BATTLEGROUND")
else
if IsInRaid() then
GatherLite:SendCommMessage(_GatherLite.name .. "Ver", GatherLite:Serialize(_GatherLite.version), "RAID")
else
elseif IsInGroup(LE_PARTY_CATEGORY_HOME) then
GatherLite:SendCommMessage(_GatherLite.name .. "Ver", GatherLite:Serialize(_GatherLite.version), "PARTY")
end
end
Expand Down

0 comments on commit 90d4dfd

Please sign in to comment.