diff --git a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/MCAWorld.java b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/MCAWorld.java index 2cbb696a..09019451 100644 --- a/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/MCAWorld.java +++ b/BlueMapCore/src/main/java/de/bluecolored/bluemap/core/mca/MCAWorld.java @@ -360,9 +360,9 @@ public static MCAWorld load(Path worldFolder, UUID uuid, BlockIdMapper blockIdMa File levelFile = new File(worldFolder.toFile(), "level.dat"); if (!levelFile.exists()) { levelFile = new File(worldFolder.toFile().getParentFile(), "level.dat"); - } - if (!levelFile.exists()) { - throw new FileNotFoundException("Could not find a level.dat file for this world!"); + if (!levelFile.exists()) { + throw new FileNotFoundException("Could not find a level.dat file for this world!"); + } } CompoundTag level = (CompoundTag) NBTUtil.readTag(levelFile);