Skip to content

Commit b85ce31

Browse files
committed
Fix FileAlreadyExistsException after server upgrade (fixes #50)
1 parent 6e5bd83 commit b85ce31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
allprojects {
22
group 'com.azuriom'
3-
version '1.3.7'
3+
version '1.3.8'
44
}
55

66
subprojects {

bukkit/src/main/java/com/azuriom/azlink/bukkit/injector/NettyLibraryLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private void loadLibrary(String groupId, String artifactId, String version) thro
4949
Path jar = this.libsFolder.resolve(artifactId + "-" + version + ".jar");
5050

5151
if (!Files.exists(jar)) {
52-
Files.createDirectory(jar.getParent());
52+
Files.createDirectories(jar.getParent());
5353

5454
this.plugin.getLogger().warn("Downloading " + artifactId + " v" + version + "...");
5555

0 commit comments

Comments
 (0)