Revert macro-specific API bridge

This commit is contained in:
Dusk-92
2026-08-24 17:37:28 +02:00
parent 58e2417e99
commit 3d6f9c34b9
-7
View File
@@ -31,7 +31,6 @@ API.aurapositional = type(_G.C_UnitAuras) == "table"
API.spellinfo = type(_G.GetSpellInfo) == "function"
API.actioninfo = type(_G.GetActionInfo) == "function"
API.macrospell = type(_G.GetMacroSpell) == "function"
API.inventory = type(_G.C_Container) == "table"
and type(_G.C_Container.GetContainerNumFreeSlots) == "function"
@@ -135,12 +134,6 @@ API.GetActionInfo = function(slot)
end
end
API.GetMacroSpell = function(slot)
if API.macrospell then
return _G.GetMacroSpell(slot)
end
end
API.GetAuraDataByIndex = function(unit, index, filter)
if API.auras then
return _G.C_UnitAuras.GetAuraDataByIndex(unit, index, filter)