Skip to content

Commit 7ad415e

Browse files
committed
Update what it means for a dir to contain a Minecraft World
1 parent 22f68fc commit 7ad415e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/project_view/configs/views/map.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class _MapConfigViewState extends ConsumerState<MapConfigView> {
148148
if (!Directory(value).existsSync()) {
149149
return "Directory does not exist";
150150
}
151-
if (!File(p.join(value, "level.dat")).existsSync()) {
151+
if (!Directory(p.join(value, "region")).existsSync()) {
152152
return "Directory does not seem to contain a Minecraft World";
153153
}
154154
return null;

0 commit comments

Comments
 (0)