summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SCore.cs
diff options
context:
space:
mode:
authorDan Volchek <danvolchek@users.noreply.github.com>2019-12-26 20:34:39 -0800
committerDan Volchek <danvolchek@users.noreply.github.com>2019-12-26 20:34:39 -0800
commit360a982336e8b250d79597e323ba267c70c404c2 (patch)
tree1e4fa2b0395d0368ab3344fbdb23beb942d12d2a /src/SMAPI/Framework/SCore.cs
parent9ea25993569d7295c02db7b7c1cd2f9669b5fba0 (diff)
downloadSMAPI-360a982336e8b250d79597e323ba267c70c404c2.tar.gz
SMAPI-360a982336e8b250d79597e323ba267c70c404c2.tar.bz2
SMAPI-360a982336e8b250d79597e323ba267c70c404c2.zip
fix log parser content pack list entry pattern, remove unneeded ternary in content pack logging
Diffstat (limited to 'src/SMAPI/Framework/SCore.cs')
-rw-r--r--src/SMAPI/Framework/SCore.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/SCore.cs b/src/SMAPI/Framework/SCore.cs
index a89c14d7..6e7c8fcb 100644
--- a/src/SMAPI/Framework/SCore.cs
+++ b/src/SMAPI/Framework/SCore.cs
@@ -783,7 +783,7 @@ namespace StardewModdingAPI.Framework
this.Monitor.Log(
$" {metadata.DisplayName} {manifest.Version}"
+ (!string.IsNullOrWhiteSpace(manifest.Author) ? $" by {manifest.Author}" : "")
- + (metadata.IsContentPack ? $" | for {GetModDisplayName(metadata.Manifest.ContentPackFor.UniqueID)}" : "")
+ + $" | for {GetModDisplayName(metadata.Manifest.ContentPackFor.UniqueID)}"
+ (!string.IsNullOrWhiteSpace(manifest.Description) ? $" | {manifest.Description}" : ""),
LogLevel.Info
);