SPIGOT-7577: Make CraftWindCharge#explode discard the entity

This commit is contained in:
Doc 2024-02-04 09:57:17 +11:00 committed by md_5
parent e74107678c
commit 4398a1b5b9
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

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