mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Update NicknameVerifier.cs
This commit is contained in:
parent
34ac8167f2
commit
2dbdd83952
1 changed files with 0 additions and 9 deletions
|
@ -79,15 +79,6 @@ namespace PKHeX.Core
|
|||
return true;
|
||||
}
|
||||
}
|
||||
else if (pkm.Format >= 8)
|
||||
{
|
||||
// Having the Nickname match the species name for the pkm.Language causes it to revert to un-nicknamed.
|
||||
if (!SpeciesName.IsNicknamed(pkm.Species, nickname, pkm.Language, pkm.Format))
|
||||
{
|
||||
data.AddLine(Get(LNickMatchLanguageFlag, Severity.Invalid));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
for (int i = 0; i < SpeciesName.SpeciesDict.Count; i++)
|
||||
{
|
||||
if (!SpeciesName.SpeciesDict[i].TryGetValue(nickname, out int species))
|
||||
|
|
Loading…
Reference in a new issue