mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-29 22:13:48 +01:00
Fix bug with dimensions not being detected correctly in bukkit
This commit is contained in:
parent
5421f956d2
commit
015b38311d
@ -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<UUID> futureUUID;
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user