mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
parent
ca9f21fa49
commit
1d24e459f9
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ namespace PKHeX.WinForms
|
|||
Stats = pkm.GetStats(pkm.PersonalInfo);
|
||||
}
|
||||
|
||||
private static string Get(IReadOnlyList<string> arr, int val) => arr?.Count > val ? arr[val] : null;
|
||||
private static string Get(IReadOnlyList<string> arr, int val) => arr?.Count > val && val >= 0 ? arr[val] : null;
|
||||
}
|
||||
public ReportGrid()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue