mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 11:05:13 +01:00
Pass EntityEnderCrystal to EntityExplode event.
This commit is contained in:
parent
39002fd39f
commit
be0ecf4670
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue