mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-10 22:00:16 -05:00
Be more generous on nick parse
benefits manual-edit users who forget to put a space between nick(species)
This commit is contained in:
parent
007ec93d85
commit
fe6c071d72
|
|
@ -473,7 +473,7 @@ private void ParseSpeciesNickname(string line)
|
|||
string n1, n2;
|
||||
if (index > 1) // correct format
|
||||
{
|
||||
n1 = line.Substring(0, index - 1);
|
||||
n1 = line.Substring(0, index).Trim();
|
||||
n2 = line.Substring(index).Trim();
|
||||
n2 = ReplaceAll(n2, string.Empty, "[", "]", "(", ")"); // Trim out excess data
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user