mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Fix 3-6 extension filters
Should cap out their valid filters at the generation for the save file.
This commit is contained in:
parent
1922a2145f
commit
e9cd03d72f
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ namespace PKHeX.Core
|
|||
public virtual string[] PKMExtensions => PKM.Extensions.Where(f =>
|
||||
{
|
||||
int gen = f.Last() - 0x30;
|
||||
return 3 <= gen && gen <= 7;
|
||||
return 3 <= gen && gen <= Generation;
|
||||
}).ToArray();
|
||||
|
||||
// General PKM Properties
|
||||
|
|
Loading…
Reference in a new issue