From bd6911afa61c91cd51119775bf0bc41b76750f89 Mon Sep 17 00:00:00 2001 From: "SNDST00M: M.U.N.I.N" <82655227+SNDST00M@users.noreply.github.com> Date: Fri, 1 Oct 2021 13:41:06 +0100 Subject: [PATCH] Flatten JAR source directory lookup --- java/src/main/java/io/github/jlyne/LiveAtlasMain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/main/java/io/github/jlyne/LiveAtlasMain.java b/java/src/main/java/io/github/jlyne/LiveAtlasMain.java index 54f837f..10b71c9 100644 --- a/java/src/main/java/io/github/jlyne/LiveAtlasMain.java +++ b/java/src/main/java/io/github/jlyne/LiveAtlasMain.java @@ -79,7 +79,7 @@ public class LiveAtlasMain extends JavaPlugin { try { Path dynmapWebFolderPath = Paths.get(dynmap.getDataFolder().toURI()).resolve("web"); - File sourceDirectory = Paths.get(this.getDataFolder().toURI()).resolve("resources").toFile(); + File sourceDirectory = Paths.get(this.getDataFolder().toURI()).toFile(); File destinationDirectory = dynmapWebFolderPath.toFile(); copyDirectory(sourceDirectory, destinationDirectory); } catch (IOException e) {