diff options
Diffstat (limited to 'src/StardewModdingAPI/Framework')
-rw-r--r-- | src/StardewModdingAPI/Framework/ModAssemblyLoader.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/StardewModdingAPI/Framework/ModAssemblyLoader.cs b/src/StardewModdingAPI/Framework/ModAssemblyLoader.cs index e095cde8..6c5e6032 100644 --- a/src/StardewModdingAPI/Framework/ModAssemblyLoader.cs +++ b/src/StardewModdingAPI/Framework/ModAssemblyLoader.cs @@ -103,10 +103,9 @@ namespace StardewModdingAPI.Framework } /// <summary>Resolve an assembly from its name.</summary> - /// <param name="name">The assembly name.</param> - public Assembly ResolveAssembly(string name) + /// <param name="shortName">The short assembly name.</param> + public Assembly ResolveAssembly(string shortName) { - string shortName = name.Split(new[] { ',' }, 2).First(); return this.AssemblyMap.Targets.FirstOrDefault(p => p.GetName().Name == shortName); } |