summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/Deobfuscator.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cuchaz/enigma/Deobfuscator.java')
-rw-r--r--src/main/java/cuchaz/enigma/Deobfuscator.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/cuchaz/enigma/Deobfuscator.java b/src/main/java/cuchaz/enigma/Deobfuscator.java
index ef452b0..843c761 100644
--- a/src/main/java/cuchaz/enigma/Deobfuscator.java
+++ b/src/main/java/cuchaz/enigma/Deobfuscator.java
@@ -32,6 +32,7 @@ import cuchaz.enigma.translation.mapping.tree.DeltaTrackingTree;
32import cuchaz.enigma.translation.mapping.tree.EntryTree; 32import cuchaz.enigma.translation.mapping.tree.EntryTree;
33import cuchaz.enigma.translation.representation.entry.ClassEntry; 33import cuchaz.enigma.translation.representation.entry.ClassEntry;
34import cuchaz.enigma.translation.representation.entry.Entry; 34import cuchaz.enigma.translation.representation.entry.Entry;
35import cuchaz.enigma.translation.representation.entry.LocalVariableEntry;
35import cuchaz.enigma.translation.representation.entry.MethodEntry; 36import cuchaz.enigma.translation.representation.entry.MethodEntry;
36import org.objectweb.asm.ClassVisitor; 37import org.objectweb.asm.ClassVisitor;
37import org.objectweb.asm.ClassWriter; 38import org.objectweb.asm.ClassWriter;
@@ -352,6 +353,8 @@ public class Deobfuscator {
352 } else if (name.equals("wait") && sig.equals("(JI)V")) { 353 } else if (name.equals("wait") && sig.equals("(JI)V")) {
353 return false; 354 return false;
354 } 355 }
356 } else if (obfEntry instanceof LocalVariableEntry && !((LocalVariableEntry) obfEntry).isArgument()) {
357 return false;
355 } 358 }
356 359
357 return this.jarIndex.getEntryIndex().hasEntry(obfEntry); 360 return this.jarIndex.getEntryIndex().hasEntry(obfEntry);