mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Pass EntityEnderCrystal to EntityExplode event.
This commit is contained in:
1 parent
39002fd39f
commit
be0ecf4670
1 file changed
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user