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/TileEntitySkull.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/TileEntitySkull.java')
-rw-r--r-- | src/main/java/net/minecraft/server/TileEntitySkull.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/TileEntitySkull.java b/src/main/java/net/minecraft/server/TileEntitySkull.java index 748f00a6..7c3757fb 100644 --- a/src/main/java/net/minecraft/server/TileEntitySkull.java +++ b/src/main/java/net/minecraft/server/TileEntitySkull.java @@ -21,7 +21,7 @@ public class TileEntitySkull extends TileEntity { if (this.j != null) { NBTTagCompound nbttagcompound1 = new NBTTagCompound(); - GameProfileSerializer.a(nbttagcompound1, this.j); + GameProfileSerializer.serialize(nbttagcompound1, this.j); nbttagcompound.set("Owner", nbttagcompound1); } } @@ -32,7 +32,7 @@ public class TileEntitySkull extends TileEntity { this.i = nbttagcompound.getByte("Rot"); if (this.a == 3) { if (nbttagcompound.hasKeyOfType("Owner", 10)) { - this.j = GameProfileSerializer.a(nbttagcompound.getCompound("Owner")); + this.j = GameProfileSerializer.deserialize(nbttagcompound.getCompound("Owner")); } else if (nbttagcompound.hasKeyOfType("ExtraType", 8) && !UtilColor.b(nbttagcompound.getString("ExtraType"))) { this.j = new GameProfile((UUID) null, nbttagcompound.getString("ExtraType")); this.d(); @@ -65,7 +65,7 @@ public class TileEntitySkull extends TileEntity { private void d() { if (this.j != null && !UtilColor.b(this.j.getName())) { if (!this.j.isComplete() || !this.j.getProperties().containsKey("textures")) { - GameProfile gameprofile = MinecraftServer.getServer().getUserCache().a(this.j.getName()); + GameProfile gameprofile = MinecraftServer.getServer().getUserCache().getProfile(this.j.getName()); if (gameprofile != null) { Property property = (Property) Iterables.getFirst(gameprofile.getProperties().get("textures"), null); |