From 94aa8957dbac176556b55dcd28f2086556ddb03e Mon Sep 17 00:00:00 2001 From: Flamanis Date: Mon, 26 Sep 2022 18:57:50 -0500 Subject: [PATCH 1/2] Use GetServerExpansionLevel instead For accounts that haven't purchased the most recent expansion (BFA accounts on SL, or more likely SL accounts that haven't bought DF, when DF comes out), will have their GetExpansionLevel be one lower. Changed to use GetServerExpansionLevel instead. https://wowpedia.fandom.com/wiki/API_GetExpansionLevel --- Libs/LibOpenRaid/ThingsToMantain.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libs/LibOpenRaid/ThingsToMantain.lua b/Libs/LibOpenRaid/ThingsToMantain.lua index cbb94a84..b5b3d437 100644 --- a/Libs/LibOpenRaid/ThingsToMantain.lua +++ b/Libs/LibOpenRaid/ThingsToMantain.lua @@ -5,7 +5,7 @@ if (not LIB_OPEN_RAID_CAN_LOAD) then return end -local expansionId = GetExpansionLevel() +local expansionId = GetServerExpansionLevel() --localization local gameLanguage = GetLocale() From 7e8084533bb212ec31762e675fc0b70b405c292f Mon Sep 17 00:00:00 2001 From: Flamanis Date: Mon, 26 Sep 2022 19:01:45 -0500 Subject: [PATCH 2/2] LibOpenRaid version bump --- Libs/LibOpenRaid/LibOpenRaid.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libs/LibOpenRaid/LibOpenRaid.lua b/Libs/LibOpenRaid/LibOpenRaid.lua index d34fbb37..e14fb868 100644 --- a/Libs/LibOpenRaid/LibOpenRaid.lua +++ b/Libs/LibOpenRaid/LibOpenRaid.lua @@ -54,7 +54,7 @@ if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE and not IsDragonflight()) then end local major = "LibOpenRaid-1.0" -local CONST_LIB_VERSION = 52 +local CONST_LIB_VERSION = 53 LIB_OPEN_RAID_CAN_LOAD = false --declae the library within the LibStub