mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 06:20:25 +00:00
Fix box sort for empty locked slot(s)
This commit is contained in:
parent
6dbc52e748
commit
ec140431c0
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ namespace PKHeX.Core
|
|||
for (int i = 0; i < p.Count; i++)
|
||||
{
|
||||
var index = p[i];
|
||||
if (index >= bd.Count)
|
||||
if ((uint)index >= bd.Count)
|
||||
continue;
|
||||
var pk = bd[index];
|
||||
var newIndex = result.IndexOf(pk);
|
||||
|
|
Loading…
Reference in a new issue