mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +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…
Add table
Reference in a new issue