diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cleaners/skyblock/auctions.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/auctions.ts b/src/cleaners/skyblock/auctions.ts index d47e5f2..dc104b0 100644 --- a/src/cleaners/skyblock/auctions.ts +++ b/src/cleaners/skyblock/auctions.ts @@ -52,7 +52,7 @@ async function cleanAuction(auction: typedHypixelApi.SkyBlockRequestAuctionRespo creationTimestamp: auction.start, buyer, boughtTimestamp: auction.end, - coins: auction.highest_bid_amount, + coins: auction.highest_bid_amount || auction.starting_bid, bin: auction.bin ?? false, item: (await cleanInventory(typeof auction.item_bytes === 'string' ? auction.item_bytes : auction.item_bytes.data))[0] } |