From 62088b5ec3c5d15d11348b8b0ac4be955602b4ab Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 11 Nov 2018 21:44:03 +0100 Subject: [PATCH] tbc: map libdebuff to the regular function --- compat/tbc.lua | 7 +++++++ 1 file changed, 7 insertions(+) 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")