Skip to content

Commit

Permalink
Fixed an issue with lib open raid
Browse files Browse the repository at this point in the history
  • Loading branch information
Tercioo committed Apr 24, 2022
1 parent d1e0325 commit aa1b97b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Libs/LibOpenRaid/LibOpenRaid.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down
2 changes: 0 additions & 2 deletions frames/window_cdtracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa1b97b

Please sign in to comment.