From 31ad61fe5fc501a5896878bbcaafcd37316b04d4 Mon Sep 17 00:00:00 2001 From: Zidras <10605951+Zidras@users.noreply.github.com> Date: Wed, 9 Jun 2021 13:58:50 +0100 Subject: [PATCH] Only hide for older version of DBM Newer backports of DBM that have correct fireEvent in their core.lua should be able to use these triggers --- WeakAuras/Prototypes.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/WeakAuras/Prototypes.lua b/WeakAuras/Prototypes.lua index 2f0a65d..15fc084 100644 --- a/WeakAuras/Prototypes.lua +++ b/WeakAuras/Prototypes.lua @@ -6059,8 +6059,10 @@ Private.event_prototypes = { }; -Private.event_prototypes["DBM Announce"] = nil -Private.event_prototypes["DBM Timer"] = nil +if (DBM and tonumber(DBM.Revision) < 7003) then + Private.event_prototypes["DBM Announce"] = nil + Private.event_prototypes["DBM Timer"] = nil +end Private.event_prototypes["BigWigs Message"] = nil Private.event_prototypes["BigWigs Timer"] = nil