Add type: null edge case

colon caused break -> treat as unsplit line with default handling
Closes #648
This commit is contained in:
Kurt
2016-12-17 09:54:22 -08:00
parent e860fd66f2
commit 69d2bc74ca

View File

@@ -96,6 +96,7 @@ public ShowdownSet(string input = null)
case "EVs": { parseLineEVs(brokenline[1].Trim()); break; }
case "IV":
case "IVs": { parseLineIVs(brokenline[1].Trim()); break; }
case "Type": { brokenline = new[] {line}; goto default; } // Type: Null edge case
default:
{
// Either Nature or Gender ItemSpecies