Skip to content

Commit

Permalink
fix NoSuchFileException from CloudNetService#1294 StackTrace 2
Browse files Browse the repository at this point in the history
  • Loading branch information
DasBabyPixel committed Jul 9, 2024
1 parent 7d30bc8 commit 87e583e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public DefaultFileChunkedPacketHandler(
try {
// create the file
if (Files.notExists(tempFilePath)) {
FileUtil.createDirectory(tempFilePath.getParent());
Files.createFile(tempFilePath);
}
// open the file
Expand Down

0 comments on commit 87e583e

Please sign in to comment.