We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6ac86 commit d5ceed7Copy full SHA for d5ceed7
download-utils/src/main/java/net/minecraftforge/util/download/DownloadUtils.java
@@ -165,7 +165,7 @@ public String read(final JsonReader in) throws IOException {
165
*/
166
public static boolean downloadFile(File target, String url) {
167
try {
168
- Files.createDirectories(target.toPath());
+ Files.createDirectories(target.toPath().getParent());
169
Log.quiet("Downloading " + url);
170
171
URLConnection connection = getConnection(url);
0 commit comments