From 930eb0ba96e986cc4fcc3337e232064e290512ac Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 26 Nov 2016 19:23:19 -0800 Subject: [PATCH] Fix invalid nature string ref don't mix and match capitals :( --- PKHeX/PKM/ShowdownSet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX/PKM/ShowdownSet.cs b/PKHeX/PKM/ShowdownSet.cs index 2ab8cb64a..8fd9503b5 100644 --- a/PKHeX/PKM/ShowdownSet.cs +++ b/PKHeX/PKM/ShowdownSet.cs @@ -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;