summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityTNTPrimed.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityTNTPrimed.java')
-rw-r--r--src/main/java/net/minecraft/server/EntityTNTPrimed.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/EntityTNTPrimed.java b/src/main/java/net/minecraft/server/EntityTNTPrimed.java
index cd023a8d..997ef48d 100644
--- a/src/main/java/net/minecraft/server/EntityTNTPrimed.java
+++ b/src/main/java/net/minecraft/server/EntityTNTPrimed.java
@@ -13,7 +13,7 @@ public class EntityTNTPrimed extends Entity {
public EntityTNTPrimed(World world) {
super(world);
this.a = 0;
- this.aH = true;
+ this.aI = true;
this.b(0.98F, 0.98F);
this.height = this.width / 2.0F;
}
@@ -38,11 +38,11 @@ public class EntityTNTPrimed extends Entity {
return false;
}
- public boolean o_() {
+ public boolean n_() {
return !this.dead;
}
- public void p_() {
+ public void o_() {
this.lastX = this.locX;
this.lastY = this.locY;
this.lastZ = this.locZ;
@@ -63,6 +63,8 @@ public class EntityTNTPrimed extends Entity {
this.explode();
this.die();
// CraftBukkit end
+ } else {
+ this.die();
}
} else {
this.world.a("smoke", this.locX, this.locY + 0.5D, this.locZ, 0.0D, 0.0D, 0.0D);