Fixed an issue with lib open raid

This commit is contained in:
Tercio Jose
2022-04-24 11:32:24 -03:00
parent d1e0325101
commit aa1b97b4c9
2 changed files with 2 additions and 5 deletions
+2 -3
View File
@@ -34,7 +34,7 @@ TODO:
local major = "LibOpenRaid-1.0"
local CONST_LIB_VERSION = 30
local CONST_LIB_VERSION = 31
LIB_OPEN_RAID_CAN_LOAD = false
--declae the library within the LibStub
@@ -561,8 +561,7 @@ LIB_OPEN_RAID_CAN_LOAD = false
openRaidLib.eventFunctions = eventFunctions
eventFrame:RegisterEvent("GROUP_ROSTER_UPDATE")
eventFrame:RegisterUnitEvent("UNIT_SPELLCAST_SUCCEEDED", "player")
eventFrame:RegisterUnitEvent("UNIT_SPELLCAST_SUCCEEDED", "pet")
eventFrame:RegisterUnitEvent("UNIT_SPELLCAST_SUCCEEDED", "player", "pet")
eventFrame:RegisterEvent("PLAYER_ENTERING_WORLD")
eventFrame:RegisterEvent("PLAYER_REGEN_DISABLED")
eventFrame:RegisterEvent("PLAYER_REGEN_ENABLED")