diff --git a/compat/tbc.lua b/compat/tbc.lua index 80758bb7..f4e0f623 100644 --- a/compat/tbc.lua +++ b/compat/tbc.lua @@ -50,6 +50,13 @@ function GetContainerNumSlots(bag) end end +-- map libdebuff to the regular function +libdebuff = { + ["UnitDebuff"] = function(self, a1, a2, a3) + return _G.UnitDebuff(a1,a2,a3) + end +} + --[[ DEBUG ]]-- function TargetByName() message("|cffff5555You shouldn't be here!|r TargetByName is blacklisted")