mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-10 01:06:03 -05:00
Fix for the last commit
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user