mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-02 17:32:03 +01:00
SPIGOT-7577: Make CraftWindCharge#explode discard the entity
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
b4d633f7df
commit
f85f51fcf0
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ public class CraftWindCharge extends CraftFireball implements WindCharge {
|
|||
@Override
|
||||
public void explode() {
|
||||
this.getHandle().explode();
|
||||
this.getHandle().discard(); // SPIGOT-7577 - explode doesn't discard the entity, this happens only in tick and onHitBlock
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue