Skip to content

Commit

Permalink
Merge pull request #359 from Flamanis/LibOpenRaid-C_Container
Browse files Browse the repository at this point in the history
LibOpenRaid use C_Container if it exists
  • Loading branch information
Tercioo authored Sep 29, 2022
2 parents 797fb75 + 5a327a5 commit 995675e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Libs/LibOpenRaid/LibOpenRaid.lua
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE and not isExpansion_Dragonflight()) t
end

local major = "LibOpenRaid-1.0"
local CONST_LIB_VERSION = 55
local CONST_LIB_VERSION = 56
LIB_OPEN_RAID_CAN_LOAD = false

--declae the library within the LibStub
Expand Down Expand Up @@ -116,6 +116,10 @@ LIB_OPEN_RAID_CAN_LOAD = false
local CONST_COOLDOWN_INDEX_DURATION = 4
local CONST_COOLDOWN_INDEX_UPDATETIME = 5

local GetContainerNumSlots = GetContainerNumSlots or C_Container.GetContainerNumSlots
local GetContainerItemID = GetContainerItemID or C_Container.GetContainerItemID
local GetContainerItemLink = GetContainerItemLink or C_Container.GetContainerItemLink

function openRaidLib.ShowDiagnosticErrors(value)
CONST_DIAGNOSTIC_ERRORS = value
end
Expand Down

0 comments on commit 995675e

Please sign in to comment.