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")
-2
View File
@@ -259,8 +259,6 @@ end
--player
local unitCooldowns = openRaidLib.GetUnitCooldowns("player", filter)
local cooldownInfo = unitCooldowns[15286]
local isReady, normalizedPercent, timeLeft, charges, minValue, maxValue, currentValue = openRaidLib.GetCooldownStatusFromCooldownInfo(cooldownInfo)
Details.CooldownTracking.ProcessUnitCooldowns("player", unitCooldowns, cooldownsOrganized)
else