Skip to content

Commit

Permalink
Fix the classic check
Browse files Browse the repository at this point in the history
  • Loading branch information
funkjedi committed Jul 25, 2024
1 parent c0d97a4 commit 51ed12e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SheepMonitor.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Title: Sheep Monitor
## Notes: Provides various methods of notification to help you keep track of your flock.
## Author: funkjedi
## Version: 1.27
## Version: 1.28
## SavedVariables: SheepMonitorDatabase
## OptionalDeps: Ace3, LibAuras, LibAuraInfo-1.0
## X-Curse-Project-ID: 28218
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.28
- fix check for classic

1.27
- updated for patch 11.0

Expand Down
2 changes: 1 addition & 1 deletion main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function SheepMonitor:OnInitialize()
end

function SheepMonitor:IsClassic()
return select(1, GetBuildInfo()) < '8.0.0'
return WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE
end

function SheepMonitor:OnEnable()
Expand Down

0 comments on commit 51ed12e

Please sign in to comment.