mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
Fix early return bool
oops Probably should be doing this in a branch before pushing :)
This commit is contained in:
parent
425f0067c3
commit
ea90c9095f
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ namespace PKHeX.Core
|
|||
{
|
||||
int min = Type.GetMinIV();
|
||||
if (min == 0)
|
||||
return false;
|
||||
return true;
|
||||
return GetIVsAboveMinimum(pkm, min);
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ namespace PKHeX.Core
|
|||
{
|
||||
int max = Type.GetMaxIV();
|
||||
if (max == 15)
|
||||
return false;
|
||||
return true;
|
||||
return GetIVsBelowMaximum(pkm, max);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue