Block the PLAYER_LOGOUT event on DetailsStreamer for Era

This commit is contained in:
Flamanis
2023-05-03 14:39:36 -05:00
parent 29c82c2bcd
commit 98ef2f0aeb
@@ -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()