mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-06-03 02:04:13 -05:00
Fix met suggestion for unsupported games
This commit is contained in:
parent
a9baa12300
commit
83907842ff
|
|
@ -235,6 +235,9 @@ public int[] getSuggestedMoves(bool tm, bool tutor, bool reminder)
|
|||
|
||||
public EncounterStatic getSuggestedMetInfo()
|
||||
{
|
||||
if (pkm == null)
|
||||
return null;
|
||||
|
||||
if (pkm.WasEgg)
|
||||
return new EncounterStatic
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user