summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityTNTPrimed.java
diff options
context:
space:
mode:
authorNathan Adams <dinnerbone@dinnerbone.com>2011-11-29 23:17:43 +0000
committerNathan Adams <dinnerbone@dinnerbone.com>2011-11-30 21:46:19 +0000
commit8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792 (patch)
treecc229f65097c54cfcd769f686c43efa1dacc8d2f /src/main/java/net/minecraft/server/EntityTNTPrimed.java
parent8665161eaa0160467ce33598c13f1aed4b549a4d (diff)
downloadcraftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.tar
craftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.tar.gz
craftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.tar.lz
craftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.tar.xz
craftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.zip
Updated to use mc-dev rename revision 1
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityTNTPrimed.java')
-rw-r--r--src/main/java/net/minecraft/server/EntityTNTPrimed.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/EntityTNTPrimed.java b/src/main/java/net/minecraft/server/EntityTNTPrimed.java
index c445a03e..df280342 100644
--- a/src/main/java/net/minecraft/server/EntityTNTPrimed.java
+++ b/src/main/java/net/minecraft/server/EntityTNTPrimed.java
@@ -18,7 +18,7 @@ public class EntityTNTPrimed extends Entity {
this.fuseTicks = 0;
this.bc = true;
this.b(0.98F, 0.98F);
- this.height = this.width / 2.0F;
+ this.height = this.length / 2.0F;
}
public EntityTNTPrimed(World world, double d0, double d1, double d2) {
@@ -91,10 +91,10 @@ public class EntityTNTPrimed extends Entity {
}
protected void b(NBTTagCompound nbttagcompound) {
- nbttagcompound.a("Fuse", (byte) this.fuseTicks);
+ nbttagcompound.setByte("Fuse", (byte) this.fuseTicks);
}
protected void a(NBTTagCompound nbttagcompound) {
- this.fuseTicks = nbttagcompound.d("Fuse");
+ this.fuseTicks = nbttagcompound.getByte("Fuse");
}
}