Fix small lua errors

This commit is contained in:
andrew6180
2024-05-24 15:21:51 -07:00
parent 07c6a0bac9
commit 9147d275e0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1379,7 +1379,7 @@ function openRaidLib.UnitInfoManager.GetPlayerFullInfo()
--indexes: specId, renown, covenant, talent, conduits, pvp talents
--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
--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 hascasttime = CastsTable [castid].HasCastTime
if (ignoredSpells [spellid]) then
if (ignoredSpells [spellid]) or not spellid then
return
end