summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/WorldMap.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldMap.java')
-rw-r--r--src/main/java/net/minecraft/server/WorldMap.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main/java/net/minecraft/server/WorldMap.java b/src/main/java/net/minecraft/server/WorldMap.java
index 4e93ed3a..344f954a 100644
--- a/src/main/java/net/minecraft/server/WorldMap.java
+++ b/src/main/java/net/minecraft/server/WorldMap.java
@@ -42,7 +42,7 @@ public class WorldMap extends WorldMapBase {
public void a(NBTTagCompound nbttagcompound) {
// CraftBukkit start
- byte dimension = nbttagcompound.c("dimension");
+ byte dimension = nbttagcompound.d("dimension");
if (dimension >= 10) {
long least = nbttagcompound.getLong("UUIDLeast");
@@ -65,9 +65,9 @@ public class WorldMap extends WorldMapBase {
this.map = dimension;
// CraftBukkit end
- this.b = nbttagcompound.e("xCenter");
- this.c = nbttagcompound.e("zCenter");
- this.e = nbttagcompound.c("scale");
+ this.b = nbttagcompound.f("xCenter");
+ this.c = nbttagcompound.f("zCenter");
+ this.e = nbttagcompound.d("scale");
if (this.e < 0) {
this.e = 0;
}
@@ -76,13 +76,13 @@ public class WorldMap extends WorldMapBase {
this.e = 4;
}
- short short1 = nbttagcompound.d("width");
- short short2 = nbttagcompound.d("height");
+ short short1 = nbttagcompound.e("width");
+ short short2 = nbttagcompound.e("height");
if (short1 == 128 && short2 == 128) {
- this.f = nbttagcompound.j("colors");
+ this.f = nbttagcompound.k("colors");
} else {
- byte[] abyte = nbttagcompound.j("colors");
+ byte[] abyte = nbttagcompound.k("colors");
this.f = new byte[16384];
int i = (128 - short1) / 2;