From 22c4d67d2a03715cc431dbb0c506f35ad7c4d490 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:22:04 -0500 Subject: [PATCH] Attempt fixing ambiguous method naming --- RecodeItLib/Remapper/Renamer.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RecodeItLib/Remapper/Renamer.cs b/RecodeItLib/Remapper/Renamer.cs index 0ff499f..019e330 100644 --- a/RecodeItLib/Remapper/Renamer.cs +++ b/RecodeItLib/Remapper/Renamer.cs @@ -49,6 +49,10 @@ internal class Renamer foreach (var method in methods) { var name = method.Name.String.Split("."); + + if (methods.Any(m => m.Name.String.Contains(name[1]))) + continue; + method.Name = name[1]; } }