diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-21 07:16:39 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-09-21 07:16:39 +0800 |
commit | f3fdefe9e5e58f23e2ee8e14d6d77d056e09cedd (patch) | |
tree | 988955aba8a518f4680c15b480e98522626acf03 | |
parent | b7a68ab7548a81f1b56f124c631694050b097a87 (diff) | |
download | SoopyV2-f3fdefe9e5e58f23e2ee8e14d6d77d056e09cedd.tar.gz SoopyV2-f3fdefe9e5e58f23e2ee8e14d6d77d056e09cedd.tar.bz2 SoopyV2-f3fdefe9e5e58f23e2ee8e14d6d77d056e09cedd.zip |
hide haste 1 from potion display
-rw-r--r-- | src/features/hud/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/features/hud/index.js b/src/features/hud/index.js index 97e8a8e..f4d7e16 100644 --- a/src/features/hud/index.js +++ b/src/features/hud/index.js @@ -652,6 +652,8 @@ class Hud extends Feature { if (potData.infinite) return if (basiclyEqual(potData.time, godPotTime, 1000)) return + if (k === "haste" && potData.level === 1) return + let potName = firstLetterCapital(k.replace(/_/g, " ")) if (this.potsOutAlert.getValue() && potData.time - Date.now() < 60000 && Date.now() - (this.lastPotAlerts[k] || 0) > 2 * 60000) { |