mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Invert language check for VC origin pkm
There's more languages than English/Japanese :) Closes #1274
This commit is contained in:
parent
86d39f2c81
commit
dfb7e144b2
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ namespace PKHeX.Core
|
|||
var langset = PKX.SpeciesLang.FirstOrDefault(s => s.Contains(pk)) ?? PKX.SpeciesLang[2];
|
||||
int lang = Array.IndexOf(PKX.SpeciesLang, langset);
|
||||
|
||||
if (pk.Length > (lang == 2 ? 10 : 5))
|
||||
if (pk.Length > (lang != 1 ? 10 : 5))
|
||||
AddLine(Severity.Invalid, V1, CheckIdentifier.Nickname);
|
||||
}
|
||||
else if (EncounterMatch is MysteryGift m)
|
||||
|
|
Loading…
Add table
Reference in a new issue