From 9147d275e0880925501dea6bf009e93632c6707b Mon Sep 17 00:00:00 2001 From: andrew6180 <16847730+andrew6180@users.noreply.github.com> Date: Fri, 24 May 2024 15:21:51 -0700 Subject: [PATCH] Fix small lua errors --- Libs/LibOpenRaid/LibOpenRaid.lua | 2 +- plugins/Details_Streamer/Details_Streamer.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Libs/LibOpenRaid/LibOpenRaid.lua b/Libs/LibOpenRaid/LibOpenRaid.lua index 0c789084..bb212ae7 100644 --- a/Libs/LibOpenRaid/LibOpenRaid.lua +++ b/Libs/LibOpenRaid/LibOpenRaid.lua @@ -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) diff --git a/plugins/Details_Streamer/Details_Streamer.lua b/plugins/Details_Streamer/Details_Streamer.lua index 27daf160..ff54a461 100644 --- a/plugins/Details_Streamer/Details_Streamer.lua +++ b/plugins/Details_Streamer/Details_Streamer.lua @@ -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