Better multi packs handling (Alchemy) - direct editing allowed

Better package/class splitting for obfuscated names
This commit is contained in:
Jindra Petřík
2015-06-07 13:46:15 +02:00
parent 47578bd13f
commit 650aefede2
28 changed files with 3747 additions and 3623 deletions

View File

@@ -741,11 +741,11 @@ public class ABCPanel extends JPanel implements ItemListener, SearchListener<ABC
SWF.uncache(pack);
try {
String oldSp = null;
List<ScriptPack> packs = abc.script_info.get(oldIndex).getPacks(abc, oldIndex, null, pack.allABCs);
if (!packs.isEmpty()) {
oldSp = packs.get(0).getClassPath().toString();
}
String oldSp = pack.getClassPath().toString();
/*List<ScriptPack> packs = abc.script_info.get(oldIndex).getPacks(abc, oldIndex, null, pack.allABCs);
if (!packs.isEmpty()) {
}*/
String as = decompiledTextArea.getText();
abc.replaceScriptPack(pack, as);