add special check for DBM-Frostmourne so it works properly
(cherry picked from commit 69d029a7f55a5f2818db654f88c1372cb2da5814)
This commit is contained in:
@@ -38,7 +38,11 @@ local dbmSupportStates = {
|
||||
}
|
||||
|
||||
local dbmSupportStatus = dbmSupportStates.UNSUPPORTED
|
||||
if (DBM and type(DBM.Revision) == "number" and DBM.Revision >= 20250312000000) then
|
||||
do
|
||||
local site = DBM and GetAddOnMetadata("DBM-Core", "X-Website")
|
||||
if site and site:match("broizter") and site:match("DBM%-Frostmourne") then
|
||||
dbmSupportStatus = dbmSupportStates.LEGACY
|
||||
elseif (DBM and type(DBM.Revision) == "number" and DBM.Revision >= 20250312000000) then
|
||||
-- DBM 2025.03.12.000000
|
||||
dbmSupportStatus = dbmSupportStates.LATEST
|
||||
elseif (DBM and type(DBM.Revision) == "number" and DBM.Revision >= 20250209000000) then
|
||||
@@ -48,6 +52,7 @@ elseif (DBM and type(DBM.ReleaseRevision) == "number" and DBM.ReleaseRevision >=
|
||||
-- DBM 7.0.5
|
||||
dbmSupportStatus = dbmSupportStates.LEGACY
|
||||
end
|
||||
end
|
||||
|
||||
local barOptions = DBM and type(DBM.ReleaseRevision) == "number" and (
|
||||
DBM.ReleaseRevision >= 20220412000000 and DBT.Options or DBM.Bars.options
|
||||
|
||||
Reference in New Issue
Block a user