mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-12-01 23:13:28 +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
|
@Override
|
||||||
public UUID getUUIDForWorld(File worldFolder) throws IOException {
|
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();
|
final File normalizedWorldFolder = worldFolder.getCanonicalFile();
|
||||||
|
|
||||||
Future<UUID> futureUUID;
|
Future<UUID> futureUUID;
|
||||||
|
@ -134,7 +134,7 @@ maps: [
|
|||||||
{
|
{
|
||||||
id: "end"
|
id: "end"
|
||||||
name: "End"
|
name: "End"
|
||||||
world: "world_the_end"
|
world: "world_the_end/DIM1"
|
||||||
|
|
||||||
# We dont want a blue sky in the end
|
# We dont want a blue sky in the end
|
||||||
skyColor: "#080010"
|
skyColor: "#080010"
|
||||||
@ -150,7 +150,7 @@ maps: [
|
|||||||
{
|
{
|
||||||
id: "nether"
|
id: "nether"
|
||||||
name: "Nether"
|
name: "Nether"
|
||||||
world: "world_nether"
|
world: "world_nether/DIM-1"
|
||||||
|
|
||||||
skyColor: "#290000"
|
skyColor: "#290000"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user