Cleanup LiveAtlas plugin directory
This commit is contained in:
parent
51ed4bfbd5
commit
28aa8c16b8
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user