diff --git a/package.json b/package.json index 421f6b1..3c2bfe6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "9.8.1", + "version": "9.8.2", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": { diff --git a/structures/DayzRBot.js b/structures/DayzRBot.js index ecd1a4d..a19b82e 100644 --- a/structures/DayzRBot.js +++ b/structures/DayzRBot.js @@ -185,7 +185,7 @@ class DayzRBot extends Client { // This player was not connected before, i.e missing connection log? playerStat.connected = true; - playerStat.lastConnectionDate = this.getDateEST(info.time); // Assume connected now + playerStat.lastConnectionDate = await this.getDateEST(info.time); // Assume connected now detectedAsConnected.push() }