SPIGOT-7577: Make CraftWindCharge#explode discard the entity
This commit is contained in:
parent
e74107678c
commit
4398a1b5b9
@ -11,6 +11,7 @@ public class CraftWindCharge extends CraftFireball implements WindCharge {
|
|||||||
@Override
|
@Override
|
||||||
public void explode() {
|
public void explode() {
|
||||||
this.getHandle().explode();
|
this.getHandle().explode();
|
||||||
|
this.getHandle().discard(); // SPIGOT-7577 - explode doesn't discard the entity, this happens only in tick and onHitBlock
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user