From 6c4a85dcedc0920506b025b1e6c404858b87403e Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Sun, 5 Nov 2023 13:08:27 -0800 Subject: [PATCH] fix/combat rating chart parameter --- commands/player-stats.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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": {