diff --git a/commands/player-stats.js b/commands/player-stats.js index d01cbaa..a44695a 100644 --- a/commands/player-stats.js +++ b/commands/player-stats.js @@ -212,7 +212,7 @@ module.exports = { const chart = { type: 'line', data: { - labels: new Array(query.combatRatingHistory.length).fill(' ', 0, query.combatRating.length - 1), + labels: new Array(query.combatRatingHistory.length).fill(' ', 0, query.combatRating.length), datasets: [{ data: query.combatRatingHistory, label: 'Combat Rating Over Time', diff --git a/package.json b/package.json index b0b3343..5b8b1fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "12.2.8", + "version": "12.2.9", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": {