From 146aac9c83510d7240475eab94738f92e5c93104 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Tue, 31 Dec 2024 14:17:42 -0500 Subject: [PATCH] don't ref types --- RecodeItLib/Remapper/ReMapper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RecodeItLib/Remapper/ReMapper.cs b/RecodeItLib/Remapper/ReMapper.cs index 9427e93..0db0240 100644 --- a/RecodeItLib/Remapper/ReMapper.cs +++ b/RecodeItLib/Remapper/ReMapper.cs @@ -52,7 +52,7 @@ public class ReMapper var types = Module.GetTypes(); - TryDeObfuscate(ref types, assemblyPath); + TryDeObfuscate(types, assemblyPath); FindBestMatches(types); ChooseBestMatches(); @@ -72,7 +72,7 @@ public class ReMapper WriteAssembly(); } - private void TryDeObfuscate(ref IEnumerable types, string assemblyPath) + private void TryDeObfuscate(IEnumerable types, string assemblyPath) { if (!Module!.GetTypes().Any(t => t.Name.Contains("GClass"))) {