Skip to content

Commit

Permalink
fix MasterAssetGroup change
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeFZ committed Jul 24, 2023
1 parent 67077a2 commit e526dd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DragaliaAPI/Features/Event/EventDataExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ public static Dictionary<int, IEventReward> GetEventRewards(this EventData data)
{
EventKindType.Raid
or EventKindType.ExHunter
=> MasterAsset.RaidEventReward[eventId]
=> MasterAsset.RaidEventReward[eventId].Values
.Cast<IEventReward>()
.ToDictionary(x => x.Id, x => x),

// BuildEventReward is the default
_
=> MasterAsset.BuildEventReward[eventId]
=> MasterAsset.BuildEventReward[eventId].Values
.Cast<IEventReward>()
.ToDictionary(x => x.Id, x => x)
};
Expand Down

0 comments on commit e526dd7

Please sign in to comment.