Skip to content

Commit

Permalink
Fixed names to not be colored in the default raid frames
Browse files Browse the repository at this point in the history
(Reported by Oliaxz)
  • Loading branch information
Ketho committed Aug 28, 2022
1 parent a0d5b5c commit eba9427
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,10 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- uses: BigWigsMods/packager@master
- uses: actions/checkout@v3
with:
args: -g classic
fetch-depth: 0

- uses: BigWigsMods/packager@master
- uses: BigWigsMods/packager@v2
with:
args: -g bcc

- uses: BigWigsMods/packager@master
args: -S
3 changes: 2 additions & 1 deletion NameplateColors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,8 @@ function f:SetupNameplates()
-- names
hooksecurefunc("CompactUnitFrame_UpdateName", function(frame)
if restricted[instanceType] then return end

if not strfind(frame.unit, "nameplate") then return end

if ShouldShowName(frame) then
-- not sure anymore what colorNameBySelection is for in retail and why its disabled in classic
if not isRetail or frame.optionTable.colorNameBySelection then
Expand Down
6 changes: 3 additions & 3 deletions NameplateColors.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface-Retail: 90005
## Interface-Classic: 11307
## Interface-BCC: 20501
## Interface: 90207
## Interface-Classic: 11403
## Interface-BCC: 20504
## Version: @project-version@
## Title: NameplateColors
## Notes: Colors friendly and enemy nameplates
Expand Down

0 comments on commit eba9427

Please sign in to comment.