add missing return stats

This commit is contained in:
SowinskiBraeden committed 2023-05-10 12:37:21 -07:00
1 parent 4231cc68fe
commit 632e7a14e0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "name": "dayz-armbands",
"version": "6.7.1", "version": "6.7.2",
"description": "A General Purpose Discord Bot for DayZ Servers.", "description": "A General Purpose Discord Bot for DayZ Servers.",
"main": "index.js", "main": "index.js",
"nodemonConfig": { "nodemonConfig": {
+1 -1
View File
@@ -101,7 +101,7 @@ module.exports = {
if (playerStatIndex == -1) stats.push(playerStat); if (playerStatIndex == -1) stats.push(playerStat);
else stats[playerStatIndex] = playerStat; else stats[playerStatIndex] = playerStat;
if (line.includes('hit by') || line.includes('killed by')) return; // prevent additional information from being fed to Alarms & UAVs if (line.includes('hit by') || line.includes('killed by')) return stats; // prevent additional information from being fed to Alarms & UAVs
HandleAlarmsAndUAVs(client, guildId, { HandleAlarmsAndUAVs(client, guildId, {
time: info.time, time: info.time,