diff options
author | atravita-mods <94934860+atravita-mods@users.noreply.github.com> | 2022-08-16 15:30:21 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-10-08 13:27:05 -0400 |
commit | 4a1055e573e9d8b0aa654238889596be07c29193 (patch) | |
tree | 0128dd695e9312ccc111268a6b56b0023e101b08 /src/SMAPI/Framework/ModLoading | |
parent | 78643710ce09197dbb5505fd8cc2361c8ada0830 (diff) | |
download | SMAPI-4a1055e573e9d8b0aa654238889596be07c29193.tar.gz SMAPI-4a1055e573e9d8b0aa654238889596be07c29193.tar.bz2 SMAPI-4a1055e573e9d8b0aa654238889596be07c29193.zip |
arraypool in the modcontentmanager, a bit of fussing
Diffstat (limited to 'src/SMAPI/Framework/ModLoading')
-rw-r--r-- | src/SMAPI/Framework/ModLoading/AssemblyLoader.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs b/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs index 01037870..ae08d972 100644 --- a/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs +++ b/src/SMAPI/Framework/ModLoading/AssemblyLoader.cs @@ -221,7 +221,7 @@ namespace StardewModdingAPI.Framework.ModLoading /// </remarks> public static Assembly? ResolveAssembly(string name) { - string shortName = name.Split(new[] { ',' }, 2).First(); // get simple name (without version and culture) + string shortName = name.Split(',', 2).First(); // get simple name (without version and culture) return AppDomain.CurrentDomain .GetAssemblies() .FirstOrDefault(p => p.GetName().Name == shortName); |