Fix for the last commit

This commit is contained in:
javierhimura 2017-02-16 12:14:10 +01:00
parent c9bdcdd464
commit 0b0dd21d93

View file

@ -331,7 +331,7 @@ namespace PKHeX.Core
int lvl = (pkm.HasOriginalMetLocation) ? pkm.Met_Level : getMaxLevelGeneration(pkm);
if (lvl <= 0)
return lvl;
return null;
// Get valid pre-evolutions
IEnumerable<DexLevel> p = getValidPreEvolutions(pkm);