aboutsummaryrefslogtreecommitdiff
path: root/src/hypixel.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/hypixel.ts')
-rw-r--r--src/hypixel.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixel.ts b/src/hypixel.ts
index 82c315d..0407514 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 / auction.item.count,
+ coins: Math.round(auction.coins / auction.item.count),
id: auction.id,
ts: Math.floor(auction.timestamp / 1000),
bin: auction.bin,