debug combat log

This commit is contained in:
SowinskiBraeden committed 2023-04-17 15:34:28 -07:00
1 parent cf46770ea5
commit e73ba298f4
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -35,7 +35,8 @@ module.exports = {
// If diff is greater than 5 minutes, not a combat log
// or if death after last combat and death was before logout event
if (diff > 5 || (data.lastDamageDate < data.lastDeathDate && data.lastDeathDate < newDt)) return;
if (data.lastDamageDate < data.lastDeathDate && data.lastDeathDate < newDt1) return;
if (diff > 5) return;
let guild = await client.GetGuild(guildId);
if (!client.exists(guild.connectionLogsChannel)) return;