SPIGOT-7577: Make CraftWindCharge#explode discard the entity

By: Doc <nachito94@msn.com>
This commit is contained in:
CraftBukkit/Spigot 2024-02-04 09:57:17 +11:00
parent b4d633f7df
commit f85f51fcf0

View file

@ -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