mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-24 18:07:39 +01:00
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.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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user