diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/bootstrap/Main.java b/paper-server/src/main/java/org/bukkit/craftbukkit/bootstrap/Main.java index f8a4122d1c..5ecbf9daf6 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/bootstrap/Main.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/bootstrap/Main.java @@ -34,7 +34,9 @@ public class Main { String repoDir = System.getProperty("bundlerRepoDir", "bundler"); Path outputDir = Paths.get(repoDir).toAbsolutePath(); - Files.createDirectories(outputDir); + if (!Files.isDirectory(outputDir)) { + Files.createDirectories(outputDir); + } System.out.println("Unbundling libraries to " + outputDir);