diff --git a/AutoLegalityMod/AutoModPlugins.csproj b/AutoLegalityMod/AutoModPlugins.csproj index c5ad186d..d42e461d 100644 --- a/AutoLegalityMod/AutoModPlugins.csproj +++ b/AutoLegalityMod/AutoModPlugins.csproj @@ -11,7 +11,7 @@ - + diff --git a/AutoLegalityMod/Plugins/AutoModPlugin.cs b/AutoLegalityMod/Plugins/AutoModPlugin.cs index cb78870d..5685ab33 100644 --- a/AutoLegalityMod/Plugins/AutoModPlugin.cs +++ b/AutoLegalityMod/Plugins/AutoModPlugin.cs @@ -177,7 +177,6 @@ public virtual void NotifyDisplayLanguageChanged(string language) if (form is null) return; WinFormsTranslator.TranslateInterface(form, language); - } } } diff --git a/AutoModTests/AutoModTests.csproj b/AutoModTests/AutoModTests.csproj index de716187..9b007dee 100644 --- a/AutoModTests/AutoModTests.csproj +++ b/AutoModTests/AutoModTests.csproj @@ -6,7 +6,7 @@ - + all diff --git a/Directory.Build.props b/Directory.Build.props index 8e36c2d4..a8e31951 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,7 +1,7 @@ net8.0 - 24.7.3 + 24.7.27 12 enable en diff --git a/PKHeX.Core.AutoMod/AutoMod/Legalization/ShowdownEdits.cs b/PKHeX.Core.AutoMod/AutoMod/Legalization/ShowdownEdits.cs index 2423f3c5..7de8dfef 100644 --- a/PKHeX.Core.AutoMod/AutoMod/Legalization/ShowdownEdits.cs +++ b/PKHeX.Core.AutoMod/AutoMod/Legalization/ShowdownEdits.cs @@ -183,7 +183,7 @@ public static void SetSpeciesLevel(this PKM pk, IBattleTemplate set, byte Form, var gen = enc.Generation; var maxlen = Legal.GetMaxLengthNickname(gen, finallang); var newnick = RegenUtil.MutateNickname(set.Nickname, finallang, (GameVersion)pk.Version); - if (pk.Format < 3 && newnick?.Length == 0) + if (pk.Format < 3 && newnick.Length == 0) newnick = SpeciesName.GetSpeciesName(pk.Species, (int)finallang); var nickname = newnick.Length > maxlen ? newnick[..maxlen] : newnick; if (!WordFilter.IsFiltered(nickname, out _)) diff --git a/PKHeX.Core.AutoMod/Enhancements/ModLogic.cs b/PKHeX.Core.AutoMod/Enhancements/ModLogic.cs index 9532aec7..b7442276 100644 --- a/PKHeX.Core.AutoMod/Enhancements/ModLogic.cs +++ b/PKHeX.Core.AutoMod/Enhancements/ModLogic.cs @@ -96,7 +96,6 @@ public static IEnumerable GenerateLivingDex(this SaveFile sav, LivingDexCon if (!sav.Personal.IsPresentInGame(s, form) || FormInfo.IsLordForm(s, form, sav.Context) || FormInfo.IsBattleOnlyForm(s, form, sav.Generation) || FormInfo.IsFusedForm(s, form, sav.Generation) || (FormInfo.IsTotemForm(s, form) && sav.Context is not EntityContext.Gen7)) continue; - var pk = AddPKM(sav, tr, s, form, cfg.SetShiny, cfg.SetAlpha, cfg.NativeOnly); if (pk is not null && !pklist.Any(x => x.Species == pk.Species && x.Form == pk.Form && x.Species !=869)) { diff --git a/PKHeX.Core.AutoMod/PKHeX.Core.AutoMod.csproj b/PKHeX.Core.AutoMod/PKHeX.Core.AutoMod.csproj index 43d180c1..1669feda 100644 --- a/PKHeX.Core.AutoMod/PKHeX.Core.AutoMod.csproj +++ b/PKHeX.Core.AutoMod/PKHeX.Core.AutoMod.csproj @@ -3,6 +3,6 @@ net8.0 - + \ No newline at end of file diff --git a/PKHeX.Core.Enhancements/PKHeX.Core.Enhancements.csproj b/PKHeX.Core.Enhancements/PKHeX.Core.Enhancements.csproj index 43d180c1..1669feda 100644 --- a/PKHeX.Core.Enhancements/PKHeX.Core.Enhancements.csproj +++ b/PKHeX.Core.Enhancements/PKHeX.Core.Enhancements.csproj @@ -3,6 +3,6 @@ net8.0 - + \ No newline at end of file diff --git a/PKHeX.Core.Injection/PKHeX.Core.Injection.csproj b/PKHeX.Core.Injection/PKHeX.Core.Injection.csproj index 6b830a1a..f849d09d 100644 --- a/PKHeX.Core.Injection/PKHeX.Core.Injection.csproj +++ b/PKHeX.Core.Injection/PKHeX.Core.Injection.csproj @@ -4,6 +4,6 @@ - + \ No newline at end of file