Check party state on cached keystones

This commit is contained in:
Flamanis
2023-01-21 17:11:44 -06:00
parent 597dac4699
commit f4f3f6b5bf
+1
View File
@@ -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