Fix FernFlower "Rename ambiguous classes and class elements".

This commit is contained in:
Cody 2022-11-03 02:59:58 -07:00
parent 77521a23b2
commit e4e511bf3d
1 changed files with 6 additions and 1 deletions

View File

@ -118,7 +118,12 @@ public class FernFlowerDecompiler extends InternalDecompiler
tempClass.delete();
final File outputJava = new File(start + ".java");
String javaDir = start;
if (BytecodeViewer.viewer.ren.isSelected()) {
javaDir = tempDirectory + "class_0";
}
final File outputJava = new File(javaDir + ".java");
if (outputJava.exists()) {
String s;
try {