aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners')
-rw-r--r--src/cleaners/skyblock/farmingContents.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/farmingContents.ts b/src/cleaners/skyblock/farmingContents.ts
index 039c725..218837d 100644
--- a/src/cleaners/skyblock/farmingContents.ts
+++ b/src/cleaners/skyblock/farmingContents.ts
@@ -39,7 +39,7 @@ export function cleanFarmingContests(data: typedHypixelApi.SkyBlockProfileMember
item: cleanItemId(item),
amount: contestData.collected,
// the api returns the position 0-indexed, so we add 1
- position: contestData.claimed_position ? contestData.claimed_position + 1 : null,
+ position: contestData.claimed_position !== undefined ? contestData.claimed_position + 1 : null,
claimed: contestData.claimed_rewards ?? null,
participants: contestData.claimed_participants ?? null
}