Pass EntityEnderCrystal to EntityExplode event.

This commit is contained in:
EvilSeph 2012-02-08 20:02:56 -05:00
parent 39002fd39f
commit be0ecf4670

View File

@ -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();
}