diff options
| -rw-r--r-- | enigma/src/main/java/cuchaz/enigma/source/cfr/EnigmaDumper.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/enigma/src/main/java/cuchaz/enigma/source/cfr/EnigmaDumper.java b/enigma/src/main/java/cuchaz/enigma/source/cfr/EnigmaDumper.java index 93cc64f..fb5c4a7 100644 --- a/enigma/src/main/java/cuchaz/enigma/source/cfr/EnigmaDumper.java +++ b/enigma/src/main/java/cuchaz/enigma/source/cfr/EnigmaDumper.java | |||
| @@ -273,7 +273,8 @@ public class EnigmaDumper extends StringStreamDumper { | |||
| 273 | int now = sb.length(); | 273 | int now = sb.length(); |
| 274 | Token token = new Token(now - name.length(), now, name); | 274 | Token token = new Token(now - name.length(), now, name); |
| 275 | 275 | ||
| 276 | if (entry != null) { | 276 | // Skip constructor references |
| 277 | if (entry != null && !name.equals("new")) { | ||
| 277 | if (defines) { | 278 | if (defines) { |
| 278 | index.addDeclaration(token, entry); // override as cfr reuses local vars | 279 | index.addDeclaration(token, entry); // override as cfr reuses local vars |
| 279 | } else { | 280 | } else { |