From 29bc7f9f65f196b4e1703d86692d0debc0791fc7 Mon Sep 17 00:00:00 2001 From: EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> Date: Thu, 11 Aug 2022 02:57:05 +0800 Subject: wrong thing math is fun! --- features/globalSettings/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features') diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index cb12c4c..185c5c1 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -159,7 +159,7 @@ class GlobalSettings extends Feature { if (Math.abs(i.timeStamp - now) > 5000) { array.splice(index, 1) } - todoText.push((i.Amount > -1 ? "&r&a+ " : "&r&c- ") + Math.abs(i.Amount == 0 ? 1 : i.Amount) + "x &r" + i.itemName) + todoText.push((i.Amount > 0 ? "&r&a+ " : "&r&c- ") + Math.abs(i.Amount == 0 ? 1 : i.Amount) + "x &r" + i.itemName) }); } else { this.todoPickUpLog = []; -- cgit