From 64f69cf5c9a3e317755b23d8463591f9428998fb Mon Sep 17 00:00:00 2001 From: cpw Date: Sun, 10 Feb 2019 10:26:21 -0500 Subject: [PATCH] Revert "Make sure to create entire path for directory, fixes #5429" This reverts commit 77dd9eb8 This will completely break symlinks on linux. Signed-off-by: cpw --- .../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 fb999d121..94027f0a4 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.createDirectories(dirPath); + Files.createDirectory(dirPath); } catch (IOException e) { if (e instanceof FileAlreadyExistsException) { LOGGER.fatal(CORE,"Failed to create {} directory - there is a file in the way", dirLabel);