mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-15 08:01:53 +00:00
Running SWFs - Create tempfiles fix nullpointer
This commit is contained in:
@@ -559,7 +559,7 @@ public class Main {
|
||||
}
|
||||
|
||||
private static File createTempFileInDir(File tempFilesDir, String prefix, String suffix) throws IOException {
|
||||
if (!tempFilesDir.isDirectory()) {
|
||||
if (tempFilesDir == null || !tempFilesDir.isDirectory()) {
|
||||
return File.createTempFile(prefix, suffix);
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user