diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-19 22:45:28 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-09-19 22:45:28 -0400 |
commit | 8c5bd12f4793a9c866b6046c05482592a5c799bc (patch) | |
tree | 50047403a6e4a2ae088d02cc10e95a5caccb1cfe /src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs | |
parent | af1a2bde8219c5d4b8660b13702725626a4a5647 (diff) | |
download | SMAPI-8c5bd12f4793a9c866b6046c05482592a5c799bc.tar.gz SMAPI-8c5bd12f4793a9c866b6046c05482592a5c799bc.tar.bz2 SMAPI-8c5bd12f4793a9c866b6046c05482592a5c799bc.zip |
merge assembly rewriters into main SMAPI project (#347)
Diffstat (limited to 'src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs')
-rw-r--r-- | src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs b/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs index 9c642bef..27a81038 100644 --- a/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs +++ b/src/StardewModdingAPI/Framework/ModLoading/AssemblyLoader.cs @@ -5,7 +5,6 @@ using System.Linq; using System.Reflection; using Mono.Cecil; using Mono.Cecil.Cil; -using StardewModdingAPI.AssemblyRewriters; using StardewModdingAPI.Framework.Exceptions; namespace StardewModdingAPI.Framework.ModLoading @@ -270,8 +269,7 @@ namespace StardewModdingAPI.Framework.ModLoading return; // get assembly - Assembly assembly; - if (!this.TypeAssemblies.TryGetValue(type.FullName, out assembly)) + if (!this.TypeAssemblies.TryGetValue(type.FullName, out Assembly assembly)) return; // replace scope |