mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-11 07:04:16 +00:00
Fix invalid nature string ref
don't mix and match capitals :(
This commit is contained in:
parent
45f8d05ee9
commit
930eb0ba96
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ namespace PKHeX
|
|||
{
|
||||
string naturestr = line.Split(' ')[0].Trim();
|
||||
int nature = Array.IndexOf(natures, naturestr);
|
||||
if (Nature < 0)
|
||||
if (nature < 0)
|
||||
InvalidLines.Add($"Unknown Nature: {naturestr}");
|
||||
else
|
||||
Nature = nature;
|
||||
|
|
Loading…
Reference in a new issue