From 77dd9eb88389e78b6001f72966b83e810cfc8437 Mon Sep 17 00:00:00 2001 From: tterrag Date: Mon, 4 Feb 2019 12:31:47 -0500 Subject: [PATCH] Make sure to create entire path for directory, fixes #5429 --- .../java/net/minecraftforge/fml/loading/FileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fmllauncher/java/net/minecraftforge/fml/loading/FileUtils.java b/src/fmllauncher/java/net/minecraftforge/fml/loading/FileUtils.java index 94027f0a4..fb999d121 100644 --- a/src/fmllauncher/java/net/minecraftforge/fml/loading/FileUtils.java +++ b/src/fmllauncher/java/net/minecraftforge/fml/loading/FileUtils.java @@ -38,7 +38,7 @@ public class FileUtils { LOGGER.debug(CORE,"Making {} directory : {}", dirLabel, dirPath); try { - Files.createDirectory(dirPath); + Files.createDirectories(dirPath); } catch (IOException e) { if (e instanceof FileAlreadyExistsException) { LOGGER.fatal(CORE,"Failed to create {} directory - there is a file in the way", dirLabel);