Fixed Streamer plugin for Wrath beta

This commit is contained in:
Tercio Jose
2022-07-23 12:01:35 -03:00
parent f06c8e2797
commit 1eba723d70
@@ -1277,7 +1277,7 @@ function listener:RegisterMyEvents()
listener:RegisterEvent ("UNIT_SPELLCAST_CHANNEL_UPDATE")
listener:RegisterEvent ("UNIT_SPELLCAST_STOP")
if (not DetailsFramework.IsTBCWow()) then
if (not DetailsFramework.IsTBCWow()and not DetailsFramework.IsWotLKWow()) then
listener:RegisterEvent ("UNIT_SPELLCAST_INTERRUPTIBLE")
listener:RegisterEvent ("UNIT_SPELLCAST_NOT_INTERRUPTIBLE")
end
@@ -1296,7 +1296,7 @@ function listener:UnregisterMyEvents()
listener:UnregisterEvent ("UNIT_SPELLCAST_CHANNEL_UPDATE")
listener:UnregisterEvent ("UNIT_SPELLCAST_STOP")
if (not DetailsFramework.IsTBCWow()) then
if (not DetailsFramework.IsTBCWow()and not DetailsFramework.IsWotLKWow()) then
listener:UnregisterEvent ("UNIT_SPELLCAST_INTERRUPTIBLE")
listener:UnregisterEvent ("UNIT_SPELLCAST_NOT_INTERRUPTIBLE")
end