summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Program.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-07-31 21:54:46 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-07-31 21:54:46 -0400
commit17acf248b66861217d48826e77f24cc311b4a22e (patch)
tree0ad4e6b6957be4313b986c1cd7a8e81ca45da4bb /src/StardewModdingAPI/Program.cs
parente40de15de0985e21a417ae6bd18ad5d9631b6f98 (diff)
downloadSMAPI-17acf248b66861217d48826e77f24cc311b4a22e.tar.gz
SMAPI-17acf248b66861217d48826e77f24cc311b4a22e.tar.bz2
SMAPI-17acf248b66861217d48826e77f24cc311b4a22e.zip
prevent mods from accessing SMAPI internals using its own reflection helper (#334)
Diffstat (limited to 'src/StardewModdingAPI/Program.cs')
-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 969695aa..b51917d9 100644
--- a/src/StardewModdingAPI/Program.cs
+++ b/src/StardewModdingAPI/Program.cs
@@ -710,7 +710,7 @@ namespace StardewModdingAPI
IMonitor monitor = this.GetSecondaryMonitor(metadata.DisplayName);
ICommandHelper commandHelper = new CommandHelper(manifest.UniqueID, metadata.DisplayName, this.CommandManager);
IContentHelper contentHelper = new ContentHelper(contentManager, metadata.DirectoryPath, manifest.UniqueID, metadata.DisplayName, monitor);
- IReflectionHelper reflectionHelper = new ReflectionHelper(manifest.UniqueID, this.Reflection);
+ IReflectionHelper reflectionHelper = new ReflectionHelper(manifest.UniqueID, metadata.DisplayName, this.Reflection);
IModRegistry modRegistryHelper = new ModRegistryHelper(manifest.UniqueID, this.ModRegistry);
ITranslationHelper translationHelper = new TranslationHelper(manifest.UniqueID, manifest.Name, contentManager.GetLocale(), contentManager.GetCurrentLanguage());