mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-09 19:47:48 -05:00
Fix early return bool
oops Probably should be doing this in a branch before pushing :)
This commit is contained in:
@@ -100,7 +100,7 @@ public bool GetIVsAboveMinimum(PKM pkm)
|
||||
{
|
||||
int min = Type.GetMinIV();
|
||||
if (min == 0)
|
||||
return false;
|
||||
return true;
|
||||
return GetIVsAboveMinimum(pkm, min);
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ public bool GetIVsBelowMaximum(PKM pkm)
|
||||
{
|
||||
int max = Type.GetMaxIV();
|
||||
if (max == 15)
|
||||
return false;
|
||||
return true;
|
||||
return GetIVsBelowMaximum(pkm, max);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user