Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrosine1153 committed Aug 7, 2024
1 parent 9187deb commit 40ceb98
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Lib9c/Action/Grinding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ public static Dictionary<Material, int> CalculateMaterialReward(
foreach (var equipment in equipmentList)
{
var grindingRow = crystalEquipmentGrindingSheet[equipment.Id];
foreach (var (itemId, count) in grindingRow.RewardMaterials)
foreach (var (materialId, count) in grindingRow.RewardMaterials)
{
var materialRow = materialItemSheet[itemId];
var item = ItemFactory.CreateMaterial(materialRow);
reward.TryAdd(item, 0);
reward[item] += count;
var materialRow = materialItemSheet[materialId];
var material = ItemFactory.CreateMaterial(materialRow);
reward.TryAdd(material, 0);
reward[material] += count;
}
}

Expand Down

0 comments on commit 40ceb98

Please sign in to comment.