From 3dff26823ee3e3cf07d85889105279c85a0bfad8 Mon Sep 17 00:00:00 2001 From: EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> Date: Thu, 11 Aug 2022 02:01:18 +0800 Subject: small salvaging fix + fixed salvaging something making the pickup log saying -0x Epic Dreadlord Sword (don't need to put this in changelog) --- features/globalSettings/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/globalSettings') diff --git a/features/globalSettings/index.js b/features/globalSettings/index.js index 20a47c2..ca1519b 100644 --- a/features/globalSettings/index.js +++ b/features/globalSettings/index.js @@ -155,7 +155,7 @@ class GlobalSettings extends Feature { if (Math.abs(i.timeStamp - now) > 5000) { array.splice(index, 1) } - todoText.push((i.Amount > 0 ? "&r&a+ " : "&r&c- ") + Math.abs(i.Amount) + "x &r" + i.itemName) + todoText.push((i.Amount > -1 ? "&r&a+ " : "&r&c- ") + Math.abs(i.Amount == 0 ? 1 : i.Amount) + "x &r" + i.itemName) }); } else { this.todoPickUpLog = []; -- cgit