From a75f2382227d771fae530d6e94306c0df841f00c Mon Sep 17 00:00:00 2001 From: "Blue (Lukas Rieger)" Date: Sat, 18 Jan 2020 12:59:23 +0100 Subject: [PATCH] No need to double check :D --- .../main/java/de/bluecolored/bluemap/core/mca/MCAWorld.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);