Don't allow remapper to run on obfuscated assemblies

This commit is contained in:
Cj 2024-08-09 20:04:11 -04:00
parent 5f448a7aee
commit e4aa655683

View File

@ -70,6 +70,12 @@ public class ReCodeItRemapper
var types = Module.GetTypes();
if (!types.Any(t => t.Name.Contains("GClass")))
{
Logger.Log("You must de-obfuscate the assembly before remapping it.\n", ConsoleColor.Red);
return;
}
var tasks = new List<Task>(remapModels.Count);
foreach (var remap in remapModels)
{