diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-19 20:35:16 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-19 20:35:16 -0400 |
commit | b346d28d3858b79c6c4cde55faac34ecdedeaff1 (patch) | |
tree | dcd0ea483cb8df2ca73d84f9152493f53d4affe9 /src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs | |
parent | 1b527f0b2573ba54024cdee80680983030246f4f (diff) | |
download | SMAPI-b346d28d3858b79c6c4cde55faac34ecdedeaff1.tar.gz SMAPI-b346d28d3858b79c6c4cde55faac34ecdedeaff1.tar.bz2 SMAPI-b346d28d3858b79c6c4cde55faac34ecdedeaff1.zip |
fix GetApi interface validation errors not naming interface
Diffstat (limited to 'src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs')
-rw-r--r-- | src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs b/src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs index e579a830..008a80f5 100644 --- a/src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs +++ b/src/SMAPI/Framework/ModHelpers/ModRegistryHelper.cs @@ -82,12 +82,12 @@ namespace StardewModdingAPI.Framework.ModHelpers } if (!typeof(TInterface).IsInterface) { - this.Monitor.Log("Tried to map a mod-provided API to a class; must be a public interface.", LogLevel.Error); + this.Monitor.Log($"Tried to map a mod-provided API to class '{typeof(TInterface).FullName}'; must be a public interface.", LogLevel.Error); return null; } if (!typeof(TInterface).IsPublic) { - this.Monitor.Log("Tried to map a mod-provided API to a non-public interface; must be a public interface.", LogLevel.Error); + this.Monitor.Log($"Tried to map a mod-provided API to non-public interface '{typeof(TInterface).FullName}'; must be a public interface.", LogLevel.Error); return null; } |