From 82c86fa9b2aa7dfeae7b47e568ba03e85901c0ea Mon Sep 17 00:00:00 2001 From: mudkipscience Date: Fri, 17 Apr 2020 17:06:48 +1000 Subject: [PATCH] ship no longer breaks for numbers higher than 98 --- commands/ship.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/ship.js b/commands/ship.js index 9db97cc..ee91729 100644 --- a/commands/ship.js +++ b/commands/ship.js @@ -57,7 +57,7 @@ exports.run = async (client, message, args, level, data) => { under += 10 } - if (rating > 99) { + if (rating >= 99) { meter.splice(9, 0, hearts.random()) }