Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
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
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren