From 8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Tue, 29 Nov 2011 23:17:43 +0000 Subject: Updated to use mc-dev rename revision 1 --- src/main/java/net/minecraft/server/EntityPainting.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/main/java/net/minecraft/server/EntityPainting.java') diff --git a/src/main/java/net/minecraft/server/EntityPainting.java b/src/main/java/net/minecraft/server/EntityPainting.java index 3a6edd7d..98a2b6ee 100644 --- a/src/main/java/net/minecraft/server/EntityPainting.java +++ b/src/main/java/net/minecraft/server/EntityPainting.java @@ -246,18 +246,18 @@ public class EntityPainting extends Entity { } public void b(NBTTagCompound nbttagcompound) { - nbttagcompound.a("Dir", (byte) this.a); + nbttagcompound.setByte("Dir", (byte) this.a); nbttagcompound.setString("Motive", this.e.A); - nbttagcompound.a("TileX", this.b); - nbttagcompound.a("TileY", this.c); - nbttagcompound.a("TileZ", this.d); + nbttagcompound.setInt("TileX", this.b); + nbttagcompound.setInt("TileY", this.c); + nbttagcompound.setInt("TileZ", this.d); } public void a(NBTTagCompound nbttagcompound) { - this.a = nbttagcompound.d("Dir"); - this.b = nbttagcompound.f("TileX"); - this.c = nbttagcompound.f("TileY"); - this.d = nbttagcompound.f("TileZ"); + this.a = nbttagcompound.getByte("Dir"); + this.b = nbttagcompound.getInt("TileX"); + this.c = nbttagcompound.getInt("TileY"); + this.d = nbttagcompound.getInt("TileZ"); String s = nbttagcompound.getString("Motive"); EnumArt[] aenumart = EnumArt.values(); int i = aenumart.length; -- cgit v1.2.3