Skip to content

Commit

Permalink
Update PKHeX.Core
Browse files Browse the repository at this point in the history
  • Loading branch information
codemonkey85 committed Feb 25, 2025
1 parent 32e9eca commit 788c86b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Pkmds.Web/Components/Layout/MainLayout.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ private async Task LoadPokemonFile(IBrowserFile browserLoadPokemonFile, string t
}
}

saveFile.AdaptPKM(pokemon);
saveFile.AdaptToSaveFile(pokemon);

var index = saveFile.NextOpenBoxSlot();
if (index < 0)
Expand Down Expand Up @@ -260,7 +260,7 @@ private async Task LoadMysteryGiftFile(IBrowserFile browserLoadMysteryGiftFile,
}
}

saveFile.AdaptPKM(pokemon);
saveFile.AdaptToSaveFile(pokemon);

var index = saveFile.NextOpenBoxSlot();
if (index < 0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private async Task OnClickCopy(MysteryGift gift)
}
}

saveFile.AdaptPKM(pokemon);
saveFile.AdaptToSaveFile(pokemon);
AppState.CopiedPokemon = pokemon.Clone();

Snackbar.Add("The selected Pokémon has been copied.");
Expand Down
2 changes: 1 addition & 1 deletion Pkmds.Web/Pkmds.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.2" PrivateAssets="all" />
<PackageReference Include="KristofferStrube.Blazor.FileSystemAccess" Version="3.2.2" />
<PackageReference Include="MudBlazor" Version="8.3.0" />
<PackageReference Include="PKHeX.Core" Version="24.11.12" />
<PackageReference Include="PKHeX.Core" Version="25.2.23" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 788c86b

Please sign in to comment.