Fixed an issue with lib open raid
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user