Skip to content

Commit

Permalink
Gen 3 hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lati111 committed Aug 1, 2024
1 parent 3629ddb commit 19466bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions PKSaveExtract/PKSaveExtract.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,13 @@ private void ExtractButton_Click(object sender, EventArgs e)
List<AbstractPokemon> pokemonCollection = new();
pkmnCollection.ForEach(pkmn =>
{


AbstractPokemon? pokemon = ConvertPokemon(pkmn);
if (pokemon == null)
{
return;
}

if (pkmn.PID != 0 && pkmn.Species.ToString() != "none" && pkmn.MetDate != null)
if (pkmn.PID != 0 && pkmn.Species.ToString() != "none")
{
pokemonCollection.Add(pokemon);
}
Expand Down

0 comments on commit 19466bc

Please sign in to comment.