Skip to content

Commit

Permalink
Merge pull request #795 from Flamanis/Fix-DF-version-checks
Browse files Browse the repository at this point in the history
Fix DF version checks
  • Loading branch information
Tercioo authored Jul 29, 2024
2 parents 6a4935d + 43e4897 commit 9d6a032
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Libs/DF/fw.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


local dversion = 553
local dversion = 554
local major, minor = "DetailsFramework-1.0", dversion
local DF, oldminor = LibStub:NewLibrary(major, minor)

Expand Down Expand Up @@ -113,13 +113,13 @@ end
---return if the wow version the player is playing is dragonflight or an expansion after it
---@return boolean
function DF.IsDragonflightAndBeyond()
return 110000 >= 100000
return buildInfo >= 100000
end

---return true if the wow version is Dragonflight or below
---@return boolean
function DF.IsDragonflightOrBelow()
return 110000 < 110000
return buildInfo < 110000
end

---return if the wow version the player is playing is a classic version of wow
Expand Down

0 comments on commit 9d6a032

Please sign in to comment.