From bb20ce047a2e20866b9532c441c7433b1973ba5b Mon Sep 17 00:00:00 2001 From: gegy1000 Date: Sat, 23 Feb 2019 19:42:00 +0200 Subject: Fix #110 and remap indices with matched bridge method names --- src/main/java/cuchaz/enigma/CommandMain.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/cuchaz/enigma/CommandMain.java') diff --git a/src/main/java/cuchaz/enigma/CommandMain.java b/src/main/java/cuchaz/enigma/CommandMain.java index 7c0a3d5..c9f8382 100644 --- a/src/main/java/cuchaz/enigma/CommandMain.java +++ b/src/main/java/cuchaz/enigma/CommandMain.java @@ -74,7 +74,7 @@ public class CommandMain { Deobfuscator deobfuscator = new Deobfuscator(jar); if (fileMappings != null) { System.out.println("Reading mappings..."); - EntryTree mappings = chooseEnigmaFormat(fileMappings).read(fileMappings); + EntryTree mappings = chooseEnigmaFormat(fileMappings).read(fileMappings, new ConsoleProgressListener()); deobfuscator.setMappings(mappings); } return deobfuscator; @@ -94,7 +94,7 @@ public class CommandMain { System.out.println("Reading mappings..."); MappingFormat readFormat = chooseEnigmaFormat(fileMappings); - EntryTree mappings = readFormat.read(fileMappings); + EntryTree mappings = readFormat.read(fileMappings, new ConsoleProgressListener()); System.out.println("Saving new mappings..."); saveFormat.write(mappings, result.toPath(), new ConsoleProgressListener()); -- cgit v1.2.3