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
This commit is contained in:
@@ -5,7 +5,7 @@ if (not LIB_OPEN_RAID_CAN_LOAD) then
|
||||
return
|
||||
end
|
||||
|
||||
local expansionId = GetExpansionLevel()
|
||||
local expansionId = GetServerExpansionLevel()
|
||||
|
||||
--localization
|
||||
local gameLanguage = GetLocale()
|
||||
|
||||
Reference in New Issue
Block a user