commandline replace AS fix

This commit is contained in:
honfika@gmail.com
2014-09-02 23:48:09 +02:00
parent b01e72dad7
commit f561a35cdd

View File

@@ -1369,7 +1369,7 @@ public class CommandLineArgumentParser {
} else {
List<MyEntry<ClassPath, ScriptPack>> packs = swf.getAS3Packs();
for (MyEntry<ClassPath, ScriptPack> entry : packs) {
if (entry.toString().equals(objectToReplace)) {
if (entry.getKey().toString().equals(objectToReplace)) {
found = true;
// replace AS3
String repFile = args.remove();