diff --git a/BlueMapBukkit/src/main/java/de/bluecolored/bluemap/bukkit/BukkitPlugin.java b/BlueMapBukkit/src/main/java/de/bluecolored/bluemap/bukkit/BukkitPlugin.java index 6f20526f..3ecb1067 100644 --- a/BlueMapBukkit/src/main/java/de/bluecolored/bluemap/bukkit/BukkitPlugin.java +++ b/BlueMapBukkit/src/main/java/de/bluecolored/bluemap/bukkit/BukkitPlugin.java @@ -78,6 +78,11 @@ public void unregisterAllListeners() { @Override public UUID getUUIDForWorld(File worldFolder) throws IOException { + //if it is a dimension folder + if (!new File(worldFolder, "level.dat").exists()) { + worldFolder = worldFolder.getParentFile(); + } + final File normalizedWorldFolder = worldFolder.getCanonicalFile(); Future futureUUID; diff --git a/BlueMapBukkit/src/main/resources/bluemap-bukkit.conf b/BlueMapBukkit/src/main/resources/bluemap-bukkit.conf index d24681af..d5070bb3 100644 --- a/BlueMapBukkit/src/main/resources/bluemap-bukkit.conf +++ b/BlueMapBukkit/src/main/resources/bluemap-bukkit.conf @@ -134,7 +134,7 @@ maps: [ { id: "end" name: "End" - world: "world_the_end" + world: "world_the_end/DIM1" # We dont want a blue sky in the end skyColor: "#080010" @@ -150,7 +150,7 @@ maps: [ { id: "nether" name: "Nether" - world: "world_nether" + world: "world_nether/DIM-1" skyColor: "#290000"