From f3fdefe9e5e58f23e2ee8e14d6d77d056e09cedd Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Wed, 21 Sep 2022 07:16:39 +0800 Subject: hide haste 1 from potion display --- src/features/hud/index.js | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit