Skip to content

Commit

Permalink
wow classic hardcore compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mikfhan committed Jul 3, 2023
1 parent 5543bf8 commit cf9c77f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NamePlatesThreat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1011,7 +1011,7 @@ function NPTframe:Initialize()
self.subTitle:SetJustifyH("LEFT")

_, _, _, self.colBorderOnly = GetBuildInfo()
if self.colBorderOnly >= 30402 then
if self.colBorderOnly >= 30402 or WOW_PROJECT_ID == WOW_PROJECT_CLASSIC and self.colBorderOnly >= 11404 then
self.addonDefault = CreateFrame("Button", "addonDefault", self, "UIPanelButtonTemplate")
self.addonDefault:SetPoint("RIGHT", self, "TOPRIGHT", -32, -24)
self.addonDefault:SetText("Defaults")
Expand Down
2 changes: 1 addition & 1 deletion NamePlatesThreat_Vanilla.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 11403
## Interface: 11404
## Title: NamePlatesThreat
## Notes: Colors the nameplate healthbar according to threat.
## Version: 3.8
Expand Down

0 comments on commit cf9c77f

Please sign in to comment.