mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-14 17:05:16 -05:00
fix acceptable PKX file extensions being off by one
This commit is contained in:
@@ -2449,7 +2449,7 @@ public static string[] getPKMExtensions()
|
||||
const int gens = 7;
|
||||
var result = new List<string>();
|
||||
result.AddRange(new [] {"ck3", "xk3", "bk4"}); // Special Cases
|
||||
for (int i = 1; i < gens; i++)
|
||||
for (int i = 1; i <= gens; i++)
|
||||
result.Add("pk"+i);
|
||||
return result.ToArray();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user