Skip to content

Commit

Permalink
🔨 here too
Browse files Browse the repository at this point in the history
  • Loading branch information
idinium96 committed Nov 4, 2024
1 parent ec41b9e commit 92600b2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/classes/Commands/sub-classes/Manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,10 +617,6 @@ export default class ManagerCommands {
if (opt.normalize.strangeAsSecondQuality.our && listingSKU.includes(';strange')) {
listingSKU = listingSKU.replace(';strange', '');
}
} else {
if (/;[p][0-9]+/.test(listingSKU)) {
listingSKU = listingSKU.replace(/;[p][0-9]+/, '');
}
}

const match = this.bot.pricelist.getPrice({ priceKey: listingSKU });
Expand Down Expand Up @@ -668,8 +664,6 @@ export default class ManagerCommands {
if (
_listings.length === 1 &&
listing.intent === 0 && // We only check if the only listing exist is buy order
entry.max > 1 &&
amountAvailable > 0 &&
amountAvailable > entry.min
) {
// here we only check if the bot already have that item
Expand Down

0 comments on commit 92600b2

Please sign in to comment.