From 3374d0221ee833fa061209182c4140218561644a Mon Sep 17 00:00:00 2001 From: Abrynos <6608231+Abrynos@users.noreply.github.com> Date: Sat, 20 Apr 2024 15:26:40 +0200 Subject: [PATCH] Remove warning about automatic update of custom plugins if there is only official plugins enabled --- ArchiSteamFarm/Plugins/PluginsCore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Plugins/PluginsCore.cs b/ArchiSteamFarm/Plugins/PluginsCore.cs index dbc581a8a5e72..52a301ead6b86 100644 --- a/ArchiSteamFarm/Plugins/PluginsCore.cs +++ b/ArchiSteamFarm/Plugins/PluginsCore.cs @@ -304,7 +304,7 @@ internal static async Task InitPlugins() { } } - if (activePluginUpdates.Count > 0) { + if (activePluginUpdates.Any(static plugin => plugin is not OfficialPlugin)) { ASF.ArchiLogger.LogGenericWarning(Strings.CustomPluginUpdatesEnabled); ActivePluginUpdates = activePluginUpdates.ToFrozenSet();