recognize gen12 italian trade OT

https://projectpokemon.org/home/forums/topic/46143-bug-in-last-update/?page=3
Thanks ThePunish3D!
This commit is contained in:
Kurt 2019-01-03 15:47:41 -08:00
parent e99c9a0999
commit bd6494d8c7
2 changed files with 1 additions and 1 deletions

View file

@ -348,7 +348,7 @@ namespace PKHeX.Core
const int start = (int)LanguageID.English;
const int end = (int)LanguageID.Italian;
var index = Array.FindIndex(TrainerNames, start, end - start, w => w == OT);
var index = Array.FindIndex(TrainerNames, start, end - start + 1, w => w == OT);
return index >= 0;
}
}