summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityPainting.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityPainting.java')
-rw-r--r--src/main/java/net/minecraft/server/EntityPainting.java16
1 files changed, 8 insertions, 8 deletions
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;