From 80d5da3c05bbe9965b9bf0003a45ac157e250957 Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Tue, 20 Apr 2021 22:17:33 +0200 Subject: [PATCH] Only warn against missing mod meta files in Release mode on log-level debug or higher. --- Penumbra/Mods/ModCollection.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Penumbra/Mods/ModCollection.cs b/Penumbra/Mods/ModCollection.cs index c2820cf2..3b25b039 100644 --- a/Penumbra/Mods/ModCollection.cs +++ b/Penumbra/Mods/ModCollection.cs @@ -41,7 +41,7 @@ namespace Penumbra.Mods { foreach( var ms in ModSettings ) { - PluginLog.Information( + PluginLog.Debug( "mod: {ModName} Enabled: {Enabled} Priority: {Priority}", ms.FolderName, ms.Enabled, ms.Priority ); @@ -61,7 +61,11 @@ namespace Penumbra.Mods if( metaFile == null ) { - PluginLog.LogError( "mod meta is missing for resource mod: {ResourceModLocation}", modDir ); +#if DEBUG + PluginLog.Error( "mod meta is missing for resource mod: {ResourceModLocation}", modDir ); +#else + PluginLog.Debug( "mod meta is missing for resource mod: {ResourceModLocation}", modDir ); +#endif continue; }