Skip to content

Commit

Permalink
fix: Bejeweled Collar marked as pet in forge
Browse files Browse the repository at this point in the history
  • Loading branch information
gylfirst committed Dec 16, 2024
1 parent 861dc20 commit 621554d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/stats/mining.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,12 @@ async function getForge(userProfile) {
forgeTime *= constants.QUICK_FORGE_MULTIPLIER[quickForge];
}

forgeItem.name =
item.type == "PETS" ? "[Lvl 1] " + helper.titleCase(item.id) : dbObject ? dbObject.name : item.id;
if (item.id == "BEJEWELED_COLLAR") {
forgeItem.name = helper.titleCase(item.id.replace("_", " "));
} else {
forgeItem.name =
item.type == "PETS" ? "[Lvl 1] " + helper.titleCase(item.id) : dbObject ? dbObject.name : item.id;
}

const timeFinished = item.startTime + forgeTime;
forgeItem.timeFinished = timeFinished;
Expand Down

0 comments on commit 621554d

Please sign in to comment.