Archiviert
13
0

No longer use an arbitrary offset to locate the correct map

Dieser Commit ist enthalten in:
Dinnerbone 2011-07-07 20:22:03 +01:00
Ursprung 83abbfe4d6
Commit 2564043882

Datei anzeigen

@ -37,7 +37,6 @@ public class WorldMap extends WorldMapBase {
// CraftBukkit start
byte dimension = nbttagcompound.c("dimension");
if (dimension >= 10) {
this.worldUID = nbttagcompound.getLong("WorldUID");
CraftWorld world = (CraftWorld) server.getWorld(this.worldUID);
// Check if the stored world details are correct.
@ -48,7 +47,6 @@ public class WorldMap extends WorldMapBase {
} else {
dimension = (byte) world.getHandle().dimension;
}
}
this.map = dimension;
// CraftBukkit end