From 67c8748eca5a4f5ad785b49525286b93a87fe164 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Thu, 20 Oct 2016 14:49:30 -0400 Subject: [PATCH] Blizzard changed the error handler, fixed :P --- xanErrorDevourer.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xanErrorDevourer.lua b/xanErrorDevourer.lua index 56fd3c6..a6c3a18 100644 --- a/xanErrorDevourer.lua +++ b/xanErrorDevourer.lua @@ -77,7 +77,8 @@ end --Nom-Nom-Nom Errors! local originalOnEvent = UIErrorsFrame:GetScript("OnEvent") -UIErrorsFrame:SetScript("OnEvent", function(self, event, msg, r, g, b, ...) +UIErrorsFrame:SetScript("OnEvent", function(self, event, num, msg, r, g, b, ...) + --only allow errors that aren't in our list if msg then @@ -91,7 +92,7 @@ UIErrorsFrame:SetScript("OnEvent", function(self, event, msg, r, g, b, ...) end --return original - return originalOnEvent(self, event, msg, r, g, b, ...) + return originalOnEvent(self, event, num, msg, r, g, b, ...) end end) -- 1.7.9.5