this popped up when i tries to import arceus through auto-legality mod
Exception Details:
System.AggregateException: One or more errors occurred. ---> System.MissingMethodException: Method not found: 'Int32 PKHeX.Core.EncounterStatic.get_FlawlessIVCount()'.
at PKHeX.Core.AutoMod.APILegality.PreSetPIDIV(PKM pk, IEncounterable enc, IBattleTemplate set)
at PKHeX.Core.AutoMod.APILegality.GetLegalFromTemplate(ITrainerInfo dest, PKM template, IBattleTemplate set, LegalizationResult& satisfied)
at PKHeX.Core.AutoMod.APILegality.<>c__DisplayClass96_0.<GetLegalFromTemplateTimeout>g__GetLegal|0()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at PKHeX.Core.AutoMod.APILegality.<TimeoutAfter>d__98.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at PKHeX.Core.AutoMod.APILegality.GetLegalFromTemplateTimeout(ITrainerInfo dest, PKM template, IBattleTemplate set, LegalizationResult& satisfied)
at PKHeX.Core.AutoMod.Legalizer.TryAPIConvert(ITrainerInfo tr, IBattleTemplate set, PKM template, PKM& pkm)
at PKHeX.Core.AutoMod.ModLogic.GetRandomEncounter(PKM blank, ITrainerInfo tr, Int32 species, Nullable`1 form, Boolean shiny, Boolean alpha, Int32& attempt)
at PKHeX.Core.AutoMod.ModLogic.GetRandomEncounter(ITrainerInfo tr, Int32 species, Nullable`1 form, Boolean shiny, Boolean alpha, Int32& attempt, PKM& pk)
at PKHeX.Core.AutoMod.Legalizer.GetLegalFromSet(ITrainerInfo tr, IBattleTemplate set, PKM template, LegalizationResult& msg)
at AutoModPlugins.ShowdownSetLoader.ImportSetToTabs(ShowdownSet set, Boolean skipDialog)
at AutoModPlugins.ShowdownSetLoader.Import(IReadOnlyList`1 sets, Boolean skipDialog)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)