Fix small lua errors
This commit is contained in:
@@ -1379,7 +1379,7 @@ function openRaidLib.UnitInfoManager.GetPlayerFullInfo()
|
|||||||
|
|
||||||
--indexes: specId, renown, covenant, talent, conduits, pvp talents
|
--indexes: specId, renown, covenant, talent, conduits, pvp talents
|
||||||
--return a placeholder table
|
--return a placeholder table
|
||||||
return {specId, 0, 0, {0, 0, 0, 0, 0, 0, 0}, {0, 0}, 0}
|
return {specId, 0, 0, {0, 0, 0, 0, 0, 0, 0}, {0, 0}, {0}}
|
||||||
end
|
end
|
||||||
|
|
||||||
--talent update (when the player changes a talent and the lib needs to notify other players in the group)
|
--talent update (when the player changes a talent and the lib needs to notify other players in the group)
|
||||||
|
|||||||
@@ -1070,7 +1070,7 @@ function StreamOverlay:CastFinished (castid)
|
|||||||
local caststart = CastsTable [castid].CastStart
|
local caststart = CastsTable [castid].CastStart
|
||||||
local hascasttime = CastsTable [castid].HasCastTime
|
local hascasttime = CastsTable [castid].HasCastTime
|
||||||
|
|
||||||
if (ignoredSpells [spellid]) then
|
if (ignoredSpells [spellid]) or not spellid then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user