Pass EntityEnderCrystal to EntityExplode event.
This commit is contained in:
parent
39002fd39f
commit
be0ecf4670
@ -51,7 +51,7 @@ public class EntityEnderCrystal extends Entity {
|
|||||||
if (this.b <= 0) {
|
if (this.b <= 0) {
|
||||||
if (!this.world.isStatic) {
|
if (!this.world.isStatic) {
|
||||||
this.die();
|
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 {
|
} else {
|
||||||
this.die();
|
this.die();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user