From dd2e8772db12887c4ab563740a4d441410aa66bb Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 11 Jun 2022 23:46:45 -0500 Subject: Social2 --- src/cleaners/skyblock/skills.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/cleaners/skyblock') diff --git a/src/cleaners/skyblock/skills.ts b/src/cleaners/skyblock/skills.ts index 2f7f453..4428412 100644 --- a/src/cleaners/skyblock/skills.ts +++ b/src/cleaners/skyblock/skills.ts @@ -190,7 +190,14 @@ export async function cleanSkills(data: typedHypixelApi.SkyBlockProfileMember, p for (const item in data) { if (item.startsWith('experience_skill_')) { - const skillName = item.slice('experience_skill_'.length) + let skillName = item.slice('experience_skill_'.length) + + // hypixel replaced social with social2 + if (skillName === 'social2') + skillName = 'social' + else if (skillName === 'social') + continue + skillNamesFound.push(skillName) // the amount of total xp you have in this skill -- cgit