From 6aae3886b3494dad695d8bf49ba8ea07ab7d9324 Mon Sep 17 00:00:00 2001 From: Pavel Dovlatov Date: Sat, 16 Apr 2022 20:42:40 +0300 Subject: [PATCH] Fixed bug which happened after leaving BRP --- RaidNotifier.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RaidNotifier.lua b/RaidNotifier.lua index 4081fce..a063fec 100644 --- a/RaidNotifier.lua +++ b/RaidNotifier.lua @@ -750,7 +750,7 @@ do ---------------------- local trial = self.Trial[self.raidId] -- Remove custom handlers which may have been assigned inside the trial "class" - if type(trial.Shutdown) == "function" then + if trial and type(trial.Shutdown) == "function" then trial.Shutdown() end