Fix invalid nature string ref

don't mix and match capitals :(
This commit is contained in:
Kurt 2016-11-26 19:23:19 -08:00
parent 45f8d05ee9
commit 930eb0ba96

View file

@ -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;