diff options
author | EmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com> | 2022-08-11 02:01:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 02:01:18 +0800 |
commit | 3dff26823ee3e3cf07d85889105279c85a0bfad8 (patch) | |
tree | 1c02e9820e502c6c310dc5cc2a612958af88939a /features/globalSettings/index.js | |
parent | f7d02cac3d28a3f84bb8c8416f44b5250aae52ea (diff) | |
download | SoopyV2-3dff26823ee3e3cf07d85889105279c85a0bfad8.tar.gz SoopyV2-3dff26823ee3e3cf07d85889105279c85a0bfad8.tar.bz2 SoopyV2-3dff26823ee3e3cf07d85889105279c85a0bfad8.zip |
small salvaging fix
+ fixed salvaging something making the pickup log saying -0x Epic Dreadlord Sword
(don't need to put this in changelog)
Diffstat (limited to 'features/globalSettings/index.js')
-rw-r--r-- | features/globalSettings/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = []; |