From e526dd7098c26d26a4512bf7511a6da4da9d6202 Mon Sep 17 00:00:00 2001 From: LukeFZ <17146677+LukeFZ@users.noreply.github.com> Date: Mon, 24 Jul 2023 04:21:25 +0200 Subject: [PATCH] fix MasterAssetGroup change --- DragaliaAPI/Features/Event/EventDataExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DragaliaAPI/Features/Event/EventDataExtensions.cs b/DragaliaAPI/Features/Event/EventDataExtensions.cs index 144e5e8e2..158b3393c 100644 --- a/DragaliaAPI/Features/Event/EventDataExtensions.cs +++ b/DragaliaAPI/Features/Event/EventDataExtensions.cs @@ -85,13 +85,13 @@ public static Dictionary GetEventRewards(this EventData data) { EventKindType.Raid or EventKindType.ExHunter - => MasterAsset.RaidEventReward[eventId] + => MasterAsset.RaidEventReward[eventId].Values .Cast() .ToDictionary(x => x.Id, x => x), // BuildEventReward is the default _ - => MasterAsset.BuildEventReward[eventId] + => MasterAsset.BuildEventReward[eventId].Values .Cast() .ToDictionary(x => x.Id, x => x) };