mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 13:50:45 +00:00
Fixed #1407 NullPointer on Save as in BinaryData SWF subtree
This commit is contained in:
@@ -951,7 +951,7 @@ public class Main {
|
||||
}
|
||||
|
||||
public static void saveFile(SWF swf, String outfile, SaveFileMode mode, ExeExportMode exeExportMode) throws IOException {
|
||||
if (mode == SaveFileMode.SAVEAS && !swf.swfList.isBundle()) {
|
||||
if (mode == SaveFileMode.SAVEAS && swf.swfList!= null /*SWF in binarydata has null*/ && !swf.swfList.isBundle()) {
|
||||
swf.setFile(outfile);
|
||||
swf.swfList.sourceInfo.setFile(outfile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user