diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/snapshot/experimental/fs/FileSystemSnapshotDatabase.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/snapshot/experimental/fs/FileSystemSnapshotDatabase.java index a247d6ffb..446a9494e 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/snapshot/experimental/fs/FileSystemSnapshotDatabase.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/snapshot/experimental/fs/FileSystemSnapshotDatabase.java @@ -93,7 +93,11 @@ public static FileSystemSnapshotDatabase maybeCreate( public FileSystemSnapshotDatabase(Path root, ArchiveNioSupport archiveNioSupport) { checkArgument(Files.isDirectory(root), "Database root is not a directory"); - this.root = root.toAbsolutePath(); + try { + this.root = root.toRealPath(); + } catch (IOException e) { + throw new RuntimeException("Failed to resolve snapshot database path", e); + } this.archiveNioSupport = archiveNioSupport; }