From 43e4897102ccdd8e3ef8a932acf01e02542883a6 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Mon, 29 Jul 2024 17:30:26 -0500 Subject: [PATCH] Fix DF version checks --- Libs/DF/fw.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index 0d9a4503d..361a7720b 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -1,6 +1,6 @@ -local dversion = 553 +local dversion = 554 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary(major, minor) @@ -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