mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Fix ribbon compare
oops
This commit is contained in:
parent
4611146807
commit
c6ef2a845d
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ namespace PKHeX.Core
|
|||
}
|
||||
if (pkm is IRibbonSetCommon8 s8)
|
||||
{
|
||||
bool inhabited8 = gen <= 7;
|
||||
bool inhabited8 = gen <= 8;
|
||||
var iterate = inhabited8 ? GetInvalidRibbons8Any(pkm, s8) : GetInvalidRibbonsNone(s8.RibbonBits(), s8.RibbonNames());
|
||||
foreach (var z in iterate)
|
||||
yield return z;
|
||||
|
|
Loading…
Reference in a new issue