From 82eaf39d45e358d2aefb9e2df4402753246acc52 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sun, 12 Jan 2020 11:41:23 -0800 Subject: [PATCH] Remove method alias for init mysterygift db --- PKHeX.Core/Legality/Core.cs | 2 -- PKHeX.WinForms/MainWindow/Main.cs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/PKHeX.Core/Legality/Core.cs b/PKHeX.Core/Legality/Core.cs index 5b0ac097c..808d273d3 100644 --- a/PKHeX.Core/Legality/Core.cs +++ b/PKHeX.Core/Legality/Core.cs @@ -61,8 +61,6 @@ public static partial class Legal internal static readonly EggMoves7[] EggMovesSWSH = EggMoves7.GetArray(Data.UnpackMini(Util.GetBinaryResource("eggmove_swsh.pkl"), "ss")); internal static readonly Learnset[] LevelUpSWSH = LearnsetReader.GetArray(Data.UnpackMini(Util.GetBinaryResource("lvlmove_swsh.pkl"), "ss")); - public static void RefreshMGDB(string localDbPath) => EncounterEvent.RefreshMGDB(localDbPath); - internal static List[] GetValidMovesAllGens(PKM pkm, IReadOnlyList[] evoChains, int minLvLG1 = 1, int minLvLG2 = 1, bool LVL = true, bool Tutor = true, bool Machine = true, bool MoveReminder = true, bool RemoveTransferHM = true) { var Moves = new List[evoChains.Length]; diff --git a/PKHeX.WinForms/MainWindow/Main.cs b/PKHeX.WinForms/MainWindow/Main.cs index 85175aa78..145b79a39 100644 --- a/PKHeX.WinForms/MainWindow/Main.cs +++ b/PKHeX.WinForms/MainWindow/Main.cs @@ -28,7 +28,7 @@ public Main() { Form splash = null; // popup a splash screen in another thread new Task(() => (splash = new SplashScreen()).ShowDialog()).Start(); - new Task(() => Legal.RefreshMGDB(MGDatabasePath)).Start(); + new Task(() => EncounterEvent.RefreshMGDB(MGDatabasePath)).Start(); string[] args = Environment.GetCommandLineArgs(); FormLoadInitialSettings(args, out bool showChangelog, out bool BAKprompt);