diff --git a/build.gradle b/build.gradle index e1fd993..baa0de1 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'eclipse' apply plugin: 'maven-publish' -version = '0.4.4' +version = '0.4.5' group = 'org.teaconmc' archivesBaseName = 'SlideShow' diff --git a/src/main/java/org/teacon/slides/download/SlideDownloader.java b/src/main/java/org/teacon/slides/download/SlideDownloader.java index 946e127..c93e048 100644 --- a/src/main/java/org/teacon/slides/download/SlideDownloader.java +++ b/src/main/java/org/teacon/slides/download/SlideDownloader.java @@ -75,7 +75,7 @@ public CompletableFuture download(URI location, boolean online) { private void ensureDirectory(Path parentPath) { try { - Files.createDirectory(parentPath); + Files.createDirectories(parentPath); } catch (IOException e) { throw new RuntimeException("Failed to create cache directory for slides.", e); }