mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-06-03 01:14:13 -05:00
Fix invalid nature string ref
don't mix and match capitals :(
This commit is contained in:
parent
45f8d05ee9
commit
930eb0ba96
|
|
@ -115,7 +115,7 @@ public ShowdownSet(string input = null)
|
|||
{
|
||||
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 New Issue
Block a user