diff --git a/Dalamud/Plugin/Internal/PluginManager.cs b/Dalamud/Plugin/Internal/PluginManager.cs index 69fde3a25..2f46ae07e 100644 --- a/Dalamud/Plugin/Internal/PluginManager.cs +++ b/Dalamud/Plugin/Internal/PluginManager.cs @@ -378,6 +378,9 @@ Thanks and have fun!"; var manifest = LocalPluginManifest.Load(manifestFile); + if (manifest.IsTestingExclusive && this.configuration.PluginTestingOptIns!.All(x => x.InternalName != manifest.InternalName)) + this.configuration.PluginTestingOptIns.Add(new PluginTestingOptIn(manifest.InternalName)); + versionsDefs.Add(new PluginDef(dllFile, manifest, false)); } catch (Exception ex) @@ -386,6 +389,8 @@ Thanks and have fun!"; } } + this.configuration.Save(); + try { pluginDefs.Add(versionsDefs.OrderByDescending(x => x.Manifest!.EffectiveVersion).First());