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 @@ internal static EncounterTrade getValidIngameTrade(PKM pkm, bool gen1Encounter =
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);