From 03251692a0a8177d7454efc77899316ac9f2ec9e Mon Sep 17 00:00:00 2001 From: TURB042O Date: Thu, 7 Mar 2024 06:57:48 -0600 Subject: [PATCH] fix --- src/mahoji/commands/mine.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mahoji/commands/mine.ts b/src/mahoji/commands/mine.ts index dd16359d6d..4cfcf15aa1 100644 --- a/src/mahoji/commands/mine.ts +++ b/src/mahoji/commands/mine.ts @@ -131,7 +131,7 @@ export function calculateMiningInput({ } let miningCapeEffect = 0; - if (gearValues.some(g => g.hasEquippedOrInBank('Mining cape')) && miningCapeOreEffect.has(ore.id)) { + if (gearValues.some(g => g.hasEquipped('Mining cape')) && miningCapeOreEffect.has(ore.id)) { miningCapeEffect = miningCapeOreEffect.amount(ore.id); if (miningCapeEffect !== 0) { messages.push(`**${miningCapeEffect}%** chance to mine an extra ore using Mining cape`);