Skip to content

Commit

Permalink
fix: Materia bandaid for now
Browse files Browse the repository at this point in the history
  • Loading branch information
nt153133 committed Jul 5, 2024
1 parent 8716aa6 commit ca255f0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Extensions/BagSlotExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,14 @@ public static List<MateriaItem> Materia(this BagSlot bagSlot)
{
if (materiaType[i] > 0)
{
materia.Add(ResourceManager.MateriaList.Value[materiaType[i]].First(j => j.Tier == materiaLevel[i]));
try
{
materia.Add(ResourceManager.MateriaList.Value[materiaType[i]].First(j => j.Tier == materiaLevel[i]));
}
catch (Exception)
{
continue;
}
}
}

Expand Down

0 comments on commit ca255f0

Please sign in to comment.