Skip to content

Commit

Permalink
BigWigs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils89 committed Dec 10, 2024
1 parent 9d4a6d2 commit 45df012
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.3.18-Era
- BigWigs fix

3.3.17-Era
- Update for 1.15.5

Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG_NEW_VERSION.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.3.18-Era
- BigWigs fix

3.3.17-Era
- Update for 1.15.5

Expand Down
4 changes: 4 additions & 0 deletions changelog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ local ct = {
}
GW.CHANGELOGS_TYPES = ct

addChange("3.3.18",{
{ct.change,[=[BigWigs fix]=]},
})

addChange("3.3.17",{
{ct.change,[=[Update for 1.15.5]=]},
})
Expand Down
8 changes: 5 additions & 3 deletions units/unitframes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,11 @@ local function setUnitPortraitFrame(self)
end
elseif BigWigs then
local npcId = GW.GetUnitCreatureId(self.unit)
local BWMods = BigWigs:GetEnableMobs()
if BWMods[npcId] then
foundBossMod = true
for _, module in BigWigs:IterateBossModules() do
if module.enableMobs[npcId] then
foundBossMod = true
break
end
end
end

Expand Down

0 comments on commit 45df012

Please sign in to comment.