summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-11-10 15:56:58 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-11-10 15:56:58 -0500
commita49ca07d316cab6a97b34f93bfe341b75fdf8657 (patch)
tree77f5bb22ea22b1ffa7bc06c6d4f9a6acfb6e6193 /src
parent179df57ce8f067dc14e4697b1260bec630f52058 (diff)
downloadSMAPI-a49ca07d316cab6a97b34f93bfe341b75fdf8657.tar.gz
SMAPI-a49ca07d316cab6a97b34f93bfe341b75fdf8657.tar.bz2
SMAPI-a49ca07d316cab6a97b34f93bfe341b75fdf8657.zip
fix deprecation warning for manifest.PerSaveConfigs
Diffstat (limited to 'src')
-rw-r--r--src/StardewModdingAPI/Program.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs
index e66abb25..177db8f2 100644
--- a/src/StardewModdingAPI/Program.cs
+++ b/src/StardewModdingAPI/Program.cs
@@ -298,7 +298,7 @@ namespace StardewModdingAPI
// create per-save directory
if (manifest.PerSaveConfigs)
{
- Program.DeprecationManager.Warn($"{nameof(Manifest)}.{nameof(Manifest.PerSaveConfigs)}", "1.0", DeprecationLevel.Notice);
+ Program.DeprecationManager.Warn(manifest.Name, $"{nameof(Manifest)}.{nameof(Manifest.PerSaveConfigs)}", "1.0", DeprecationLevel.Notice);
try
{
string psDir = Path.Combine(directory, "psconfigs");