diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cleaners/skyblock/pets.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/pets.ts b/src/cleaners/skyblock/pets.ts index ac8d587..031924a 100644 --- a/src/cleaners/skyblock/pets.ts +++ b/src/cleaners/skyblock/pets.ts @@ -63,7 +63,7 @@ export async function cleanPets(data: typedHypixelApi.SkyBlockProfileMember): Pr const itemList = await fetchItemList() for (const petData of data.pets ?? []) { - const xpTable = RARITY_XP_TABLES[petData.tier] + const xpTable = RARITY_XP_TABLES[petData.tier] ?? RARITY_XP_TABLES.LEGENDARY const level = levelFromXpTable(petData.exp, xpTable) const pet: Pet = { id: petData.type, |