diff --git a/PKHeX.Core/Editing/Saves/Slots/Extensions.cs b/PKHeX.Core/Editing/Saves/Slots/Extensions.cs index 69a50a97d..2ee088dc8 100644 --- a/PKHeX.Core/Editing/Saves/Slots/Extensions.cs +++ b/PKHeX.Core/Editing/Saves/Slots/Extensions.cs @@ -16,7 +16,9 @@ namespace PKHeX.Core sav.SetStoredSlot(pkm, slot.Offset); } - public static PKM[] GetExtraPKM(this SaveFile sav, List slots = null) + public static PKM[] GetExtraPKM(this SaveFile sav) => sav.GetExtraPKM(sav.GetExtraSlots()); + + public static PKM[] GetExtraPKM(this SaveFile sav, IList slots) { slots = slots ?? sav.GetExtraSlots(); var arr = new PKM[slots.Count];