diff options
author | Erik Broes <erikbroes@grum.nl> | 2011-11-20 00:01:14 -0800 |
---|---|---|
committer | Erik Broes <erikbroes@ripe.net> | 2011-11-20 00:01:33 -0800 |
commit | 345ea36c7bb3383c6e4825355d0043a646194eaa (patch) | |
tree | df116b57d92315c0a13c2fdc87d792b031c7239a /src/main/java/net/minecraft/server/WorldMap.java | |
parent | 589f66bd1b766dc1fdd737ee885304196a2ed86a (diff) | |
download | craftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.tar craftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.tar.gz craftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.tar.lz craftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.tar.xz craftbukkit-345ea36c7bb3383c6e4825355d0043a646194eaa.zip |
Update for 1.0.0
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldMap.java')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldMap.java | 16 |
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; |