No longer use an arbitrary offset to locate the correct map
Dieser Commit ist enthalten in:
Ursprung
83abbfe4d6
Commit
2564043882
@ -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
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren