mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
Update SAV_MysteryGiftDB.cs
This commit is contained in:
parent
8e1be1f911
commit
b049c82284
1 changed files with 4 additions and 1 deletions
|
@ -107,7 +107,10 @@ namespace PKHeX.WinForms
|
|||
var pk = Results[index].ConvertToPKM(SAV);
|
||||
pk = PKMConverter.ConvertToType(pk, SAV.PKMType, out var c);
|
||||
if (pk == null)
|
||||
throw new FormatException(c); // shouldn't happen
|
||||
{
|
||||
WinFormsUtil.Error(c);
|
||||
return;
|
||||
}
|
||||
SAV.AdaptPKM(pk);
|
||||
PKME_Tabs.PopulateFields(pk, false);
|
||||
slotSelected = index;
|
||||
|
|
Loading…
Reference in a new issue