diff options
Diffstat (limited to 'src/hypixel.ts')
-rw-r--r-- | src/hypixel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts index 060cff4..42fc5af 100644 --- a/src/hypixel.ts +++ b/src/hypixel.ts @@ -409,7 +409,7 @@ export async function periodicallyFetchRecentlyEndedAuctions() { bin: auction.bin, } // make sure the auction isn't already in there - if (auctions.findIndex((a) => a.id === simpleAuction.id) !== null) { + if (auctions.findIndex((a) => a.id === simpleAuction.id) === null) { auctions.push(simpleAuction) // keep only the last 100 items if (auctions.length > 100) |