Merge pull request #741 from Flamanis/TWW-Fixes
Initial changes to fix TWW issues
This commit is contained in:
@@ -6,8 +6,8 @@ local SharedMedia = LibStub:GetLibrary("LibSharedMedia-3.0")
|
||||
local unpack = unpack
|
||||
local GetTime = GetTime
|
||||
local CreateFrame = CreateFrame
|
||||
local GetSpellLink = GetSpellLink
|
||||
local GetSpellInfo = GetSpellInfo
|
||||
local GetSpellLink = GetSpellLink or C_Spell.GetSpellLink
|
||||
local GetSpellInfo = Details222.GetSpellInfo
|
||||
local _GetSpellInfo = Details.GetSpellInfo
|
||||
local GameTooltip = GameTooltip
|
||||
local IsShiftKeyDown = IsShiftKeyDown
|
||||
|
||||
@@ -161,7 +161,7 @@ end
|
||||
isReady, normalizedPercent, timeLeft, charges, minValue, maxValue, currentValue = openRaidLib.GetCooldownStatusFromCooldownInfo(cooldownInfo)
|
||||
end)
|
||||
if (not bRunOkay) then
|
||||
local spellName = GetSpellInfo(spellId)
|
||||
local spellName = Details222.GetSpellInfo(spellId)
|
||||
--print("error on cooldown update:", unitName, spellName, errorText)
|
||||
return
|
||||
end
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
|
||||
local Details = _G.Details
|
||||
local addonName, Details222 = ...
|
||||
local L = LibStub("AceLocale-3.0"):GetLocale ( "Details" )
|
||||
|
||||
local GetSpellInfo = Details222.GetSpellInfo
|
||||
|
||||
--default weaktable
|
||||
Details.weaktable = {__mode = "v"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user