From f4f3f6b5bff7151fd62d0c273cc10a021d915a88 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Sat, 21 Jan 2023 17:11:44 -0600 Subject: [PATCH] Check party state on cached keystones --- functions/slash.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/slash.lua b/functions/slash.lua index 284c391c..c93a1156 100644 --- a/functions/slash.lua +++ b/functions/slash.lua @@ -2430,6 +2430,7 @@ if (WOW_PROJECT_ID == WOW_PROJECT_MAINLINE) then --this unit in the cache isn't shown? if (not unitsAdded[unitName] and keystoneTable.guild_name == guildName and keystoneTable.date > cutoffDate) then if (keystoneTable[2] > 0 or keystoneTable[6] > 0) then + keystoneTable[11] = UnitInParty(unitName) and (string.byte(unitName, 1) + string.byte(unitName, 2)) or 0 --isInMyParty keystoneTable[12] = false --isOnline newData[#newData+1] = keystoneTable unitsAdded[unitName] = true