Code Cleanup
This commit is contained in:
parent
845ae248ab
commit
5334a2da20
1 changed files with 22 additions and 21 deletions
|
@ -25,7 +25,7 @@ public class ExampleStringDecrypter extends Plugin {
|
|||
boolean needsWarning = false;
|
||||
|
||||
for (ClassNode cn : classNodesList) {
|
||||
|
||||
try {
|
||||
//load the class node into the classloader
|
||||
BCV.getClassNodeLoader().addClass(cn);
|
||||
|
||||
|
@ -43,14 +43,16 @@ public class ExampleStringDecrypter extends Plugin {
|
|||
if (s != null && !s.isEmpty())
|
||||
gui.appendText(cn + ":" + s);
|
||||
}
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
gui.appendText("Failed loading class " + cn.name);
|
||||
e.printStackTrace();
|
||||
needsWarning = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (needsWarning) {
|
||||
BytecodeViewer.showMessage("Some classes failed to decrypt, if you'd like to decrypt all of them\n"
|
||||
|
@ -60,5 +62,4 @@ public class ExampleStringDecrypter extends Plugin {
|
|||
gui.setVisible(true);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue