From be0ecf467094812300220d50ceba42e69729a005 Mon Sep 17 00:00:00 2001 From: EvilSeph Date: Wed, 8 Feb 2012 20:02:56 -0500 Subject: [PATCH] Pass EntityEnderCrystal to EntityExplode event. --- src/main/java/net/minecraft/server/EntityEnderCrystal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/EntityEnderCrystal.java b/src/main/java/net/minecraft/server/EntityEnderCrystal.java index 6cac96be04..7985a100bf 100644 --- a/src/main/java/net/minecraft/server/EntityEnderCrystal.java +++ b/src/main/java/net/minecraft/server/EntityEnderCrystal.java @@ -51,7 +51,7 @@ public class EntityEnderCrystal extends Entity { if (this.b <= 0) { if (!this.world.isStatic) { this.die(); - this.world.a((Entity) null, this.locX, this.locY, this.locZ, 6.0F); + this.world.a(this, this.locX, this.locY, this.locZ, 6.0F); // CraftBukkit - (Entity) null -> this. } else { this.die(); }