From 98ef2f0aebb20ac55aa64aab956cafbe244c8f61 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Wed, 3 May 2023 14:39:36 -0500 Subject: [PATCH] Block the PLAYER_LOGOUT event on DetailsStreamer for Era --- plugins/Details_Streamer/Details_Streamer.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/Details_Streamer/Details_Streamer.lua b/plugins/Details_Streamer/Details_Streamer.lua index 6f30c8c0..079c039c 100644 --- a/plugins/Details_Streamer/Details_Streamer.lua +++ b/plugins/Details_Streamer/Details_Streamer.lua @@ -2354,7 +2354,9 @@ end function StreamOverlay:OnEvent (_, event, ...) - + if (DetailsFramework and DetailsFramework.IsClassicWow()) then + return + end if (event == "ADDON_LOADED") then local AddonName = select (1, ...) if (AddonName == "Details_Streamer") then @@ -2363,9 +2365,7 @@ function StreamOverlay:OnEvent (_, event, ...) if (_G._detalhes) then - if (DetailsFramework.IsClassicWow()) then - return - end + --> create widgets CreatePluginFrames()