From f301bfd90eb3b00234cf8fa1cb5c9c50e0019d3f Mon Sep 17 00:00:00 2001 From: 2vb <2vb@protonmail.com> Date: Wed, 29 May 2024 00:15:34 -0700 Subject: [PATCH] Fix --- data/season.snow.json | 20 +++++++++++++++++--- fortnite/season.go | 2 +- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/data/season.snow.json b/data/season.snow.json index 00de2f9..3aa56d8 100644 --- a/data/season.snow.json +++ b/data/season.snow.json @@ -26,8 +26,22 @@ "PrimaryAssetName": "Athena_BattlePassDiscountToken_S08" } ], - "FreeLevelsThatNavigateToBattlePass": [2, 6, 14, 22, 30, 38, 46, 54, 62], - "FreeLevelsThatAutoOpenTheAboutScreen": [1, 14, 46], + "FreeLevelsThatNavigateToBattlePass": [ + 2, + 6, + 14, + 22, + 30, + 38, + 46, + 54, + 62 + ], + "FreeLevelsThatAutoOpenTheAboutScreen": [ + 1, + 14, + 46 + ], "SeasonXpScheduleFree": { "Levels": [ { @@ -6527,4 +6541,4 @@ } } } -] +] \ No newline at end of file diff --git a/fortnite/season.go b/fortnite/season.go index 73ad360..1c156a7 100644 --- a/fortnite/season.go +++ b/fortnite/season.go @@ -186,7 +186,7 @@ func convertAssetPathToTemplateId(assetPath string) string { case strings.Contains(assetPath, "Game/Athena/Items/Cosmetics/ItemWraps"): templateIdParts[0] = "AthenaItemWrap" case strings.Contains(assetPath, "Game/Athena/Items/Cosmetics/Contrails"): - templateIdParts[0] = "AthenaSkydiveContrail" + templateIdParts[0] = "AthenaSkyDiveContrail" case strings.Contains(assetPath, "Game/Athena/Items/CosmeticVariantTokens"): templateIdParts[0] = "CosmeticVariantToken" default: