From 05bc6aeec8056378732814dcd780441a031223b0 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 17 May 2022 23:36:33 -0500 Subject: divide price by count for auction prices --- src/hypixel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/hypixel.ts b/src/hypixel.ts index b579059..82c315d 100644 --- a/src/hypixel.ts +++ b/src/hypixel.ts @@ -369,7 +369,7 @@ export async function periodicallyFetchRecentlyEndedAuctions() { const simpleAuction: SimpleAuctionSchema = { s: true, - coins: auction.coins, + coins: auction.coins / auction.item.count, id: auction.id, ts: Math.floor(auction.timestamp / 1000), bin: auction.bin, -- cgit