mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Fixed Off By One Error in Single Box Dump (#1956)
Huh, how long has this been here :O
This commit is contained in:
parent
05e3b3c8c3
commit
a81b43cd4f
11 changed files with 11 additions and 11 deletions
|
@ -66,7 +66,7 @@ namespace PKHeX.WinForms
|
|||
int ctr = 0;
|
||||
foreach (PKM pk in boxdata)
|
||||
{
|
||||
if (pk.Species == 0 || !pk.Valid || (pk.Box - 1) != currentBox)
|
||||
if (pk.Species == 0 || !pk.Valid || pk.Box != currentBox)
|
||||
continue;
|
||||
|
||||
ctr++;
|
||||
|
|
Loading…
Add table
Reference in a new issue