Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
I-am-TURBO committed Mar 7, 2024
1 parent 24edab9 commit 0325169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mahoji/commands/mine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit 0325169

Please sign in to comment.