From 3df5e73fe13dc037ba09ced596f693e1035fa4a5 Mon Sep 17 00:00:00 2001 From: Zidras <10605951+Zidras@users.noreply.github.com> Date: Tue, 26 Dec 2023 23:16:38 +0000 Subject: [PATCH] Core: remove deprecated code --- DBM-Core/DBM-Core.lua | 8 -------- 1 file changed, 8 deletions(-) diff --git a/DBM-Core/DBM-Core.lua b/DBM-Core/DBM-Core.lua index d18d148c..78fad5fb 100644 --- a/DBM-Core/DBM-Core.lua +++ b/DBM-Core/DBM-Core.lua @@ -8305,10 +8305,6 @@ do if soundOption and type(soundOption) == "boolean" then soundOption = 0--No Sound end - if type(spellId) == "string" and spellId:match("OptionVersion") then - print("newAnnounce for "..color.." is using OptionVersion hack. this is depricated") - return - end local text, spellName = setText(announceType, alternateSpellId or spellId, castTime, preWarnTime, nil, spellId) icon = icon or spellId local obj = setmetatable( -- todo: fix duplicate code @@ -8696,10 +8692,6 @@ do error("NewYell: you must provide either spellId or yellText", 2) return end - if type(spellId) == "string" and spellId:match("OptionVersion") then - DBM:Debug("newYell for: "..yellText.." is using OptionVersion hack. This is depricated", 2) - return - end local optionVersion if type(optionName) == "number" then optionVersion = optionName