diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2014-06-26 13:05:08 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2014-07-08 14:31:10 -0500 |
commit | dbb5e6e3cd35ca82efb39a44fcf6542733d2bc00 (patch) | |
tree | 062b1b273d0e0f337fde6b79f9377519d85c48c5 /src/main/java/net/minecraft/server/BlockSkull.java | |
parent | a8628fd645e12ec22bc525f49dd25f68d094f3ef (diff) | |
download | craftbukkit-dbb5e6e3cd35ca82efb39a44fcf6542733d2bc00.tar craftbukkit-dbb5e6e3cd35ca82efb39a44fcf6542733d2bc00.tar.gz craftbukkit-dbb5e6e3cd35ca82efb39a44fcf6542733d2bc00.tar.lz craftbukkit-dbb5e6e3cd35ca82efb39a44fcf6542733d2bc00.tar.xz craftbukkit-dbb5e6e3cd35ca82efb39a44fcf6542733d2bc00.zip |
Update CraftBukkit to Minecraft 1.7.10
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockSkull.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockSkull.java | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/main/java/net/minecraft/server/BlockSkull.java b/src/main/java/net/minecraft/server/BlockSkull.java index b05f4639..3075dbc8 100644 --- a/src/main/java/net/minecraft/server/BlockSkull.java +++ b/src/main/java/net/minecraft/server/BlockSkull.java @@ -88,7 +88,7 @@ public class BlockSkull extends BlockContainer { itemstack.setTag(new NBTTagCompound()); NBTTagCompound nbttagcompound = new NBTTagCompound(); - GameProfileSerializer.a(nbttagcompound, tileentityskull.getGameProfile()); + GameProfileSerializer.serialize(nbttagcompound, tileentityskull.getGameProfile()); itemstack.getTag().set("SkullOwner", nbttagcompound); } @@ -119,7 +119,7 @@ public class BlockSkull extends BlockContainer { itemstack.setTag(new NBTTagCompound()); NBTTagCompound nbttagcompound = new NBTTagCompound(); - GameProfileSerializer.a(nbttagcompound, tileentityskull.getGameProfile()); + GameProfileSerializer.serialize(nbttagcompound, tileentityskull.getGameProfile()); itemstack.getTag().set("SkullOwner", nbttagcompound); } @@ -151,13 +151,13 @@ public class BlockSkull extends BlockContainer { world.setData(i, j, k + l + 1, 8, 2); world.setData(i, j, k + l + 2, 8, 2); - blockList.setTypeAndData(i, j, k + l, e(0), 0, 2); - blockList.setTypeAndData(i, j, k + l + 1, e(0), 0, 2); - blockList.setTypeAndData(i, j, k + l + 2, e(0), 0, 2); - blockList.setTypeAndData(i, j - 1, k + l, e(0), 0, 2); - blockList.setTypeAndData(i, j - 1, k + l + 1, e(0), 0, 2); - blockList.setTypeAndData(i, j - 1, k + l + 2, e(0), 0, 2); - blockList.setTypeAndData(i, j - 2, k + l + 1, e(0), 0, 2); + blockList.setTypeAndData(i, j, k + l, getById(0), 0, 2); + blockList.setTypeAndData(i, j, k + l + 1, getById(0), 0, 2); + blockList.setTypeAndData(i, j, k + l + 2, getById(0), 0, 2); + blockList.setTypeAndData(i, j - 1, k + l, getById(0), 0, 2); + blockList.setTypeAndData(i, j - 1, k + l + 1, getById(0), 0, 2); + blockList.setTypeAndData(i, j - 1, k + l + 2, getById(0), 0, 2); + blockList.setTypeAndData(i, j - 2, k + l + 1, getById(0), 0, 2); if (!world.isStatic) { entitywither = new EntityWither(world); @@ -196,13 +196,13 @@ public class BlockSkull extends BlockContainer { world.setData(i + l + 1, j, k, 8, 2); world.setData(i + l + 2, j, k, 8, 2); - blockList.setTypeAndData(i + l, j, k, e(0), 0, 2); - blockList.setTypeAndData(i + l + 1, j, k, e(0), 0, 2); - blockList.setTypeAndData(i + l + 2, j, k, e(0), 0, 2); - blockList.setTypeAndData(i + l, j - 1, k, e(0), 0, 2); - blockList.setTypeAndData(i + l + 1, j - 1, k, e(0), 0, 2); - blockList.setTypeAndData(i + l + 2, j - 1, k, e(0), 0, 2); - blockList.setTypeAndData(i + l + 1, j - 2, k, e(0), 0, 2); + blockList.setTypeAndData(i + l, j, k, getById(0), 0, 2); + blockList.setTypeAndData(i + l + 1, j, k, getById(0), 0, 2); + blockList.setTypeAndData(i + l + 2, j, k, getById(0), 0, 2); + blockList.setTypeAndData(i + l, j - 1, k, getById(0), 0, 2); + blockList.setTypeAndData(i + l + 1, j - 1, k, getById(0), 0, 2); + blockList.setTypeAndData(i + l + 2, j - 1, k, getById(0), 0, 2); + blockList.setTypeAndData(i + l + 1, j - 2, k, getById(0), 0, 2); if (!world.isStatic) { entitywither = new EntityWither(world); entitywither.setPositionRotation((double) (i + l) + 1.5D, (double) j - 1.45D, (double) k + 0.5D, 0.0F, 0.0F); |