From 0646d0904d92e88358fbeb53fd15bd59f03d461a Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 30 Mar 2022 18:08:12 +0000 Subject: lowercase item name in farming contest --- src/cleaners/skyblock/farmingContents.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cleaners/skyblock/farmingContents.ts b/src/cleaners/skyblock/farmingContents.ts index 9b34ba2..e6bb989 100644 --- a/src/cleaners/skyblock/farmingContents.ts +++ b/src/cleaners/skyblock/farmingContents.ts @@ -35,7 +35,7 @@ export function cleanFarmingContests(data: typedHypixelApi.SkyBlockProfileMember const [month, day] = monthDay.split('_') const contestByDateKey = `${year}:${month}:${day}` const cropData: PlayerFarmingContestStats['crops'][number] = { - item, + item: item.toLowerCase(), amount: contestData.collected, // the api returns the position 0-indexed, so we add 1 position: contestData.claimed_position ? contestData.claimed_position + 1 : null, -- cgit