Flatten JAR source directory lookup
This commit is contained in:
parent
1f77276037
commit
bd6911afa6
@ -79,7 +79,7 @@ public class LiveAtlasMain extends JavaPlugin {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
Path dynmapWebFolderPath = Paths.get(dynmap.getDataFolder().toURI()).resolve("web");
|
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();
|
File destinationDirectory = dynmapWebFolderPath.toFile();
|
||||||
copyDirectory(sourceDirectory, destinationDirectory);
|
copyDirectory(sourceDirectory, destinationDirectory);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user