From 28aa8c16b8624e0467ca78eed23126c546648fde Mon Sep 17 00:00:00 2001 From: "SNDST00M: M.U.N.I.N" <82655227+SNDST00M@users.noreply.github.com> Date: Sun, 10 Oct 2021 11:19:28 +0100 Subject: [PATCH] Cleanup LiveAtlas plugin directory --- java/src/main/java/io/github/jlyne/LiveAtlasMain.java | 1 + 1 file changed, 1 insertion(+) diff --git a/java/src/main/java/io/github/jlyne/LiveAtlasMain.java b/java/src/main/java/io/github/jlyne/LiveAtlasMain.java index 0f328a2..4454a0f 100644 --- a/java/src/main/java/io/github/jlyne/LiveAtlasMain.java +++ b/java/src/main/java/io/github/jlyne/LiveAtlasMain.java @@ -85,6 +85,7 @@ public class LiveAtlasMain extends JavaPlugin { copyJarFile(this.getFile().getAbsoluteFile().toString()); File dynmapWebFolderPath = Paths.get(dynmap.getDataFolder().toURI()).resolve("web").toFile(); copyDirectory(liveAtlasFolderPath, dynmapWebFolderPath); + deleteDir(liveAtlasFolderPath); } catch (IOException e) { throw new RuntimeException("LiveAtlas v" + version + " installation failed", e); }