From f85f51fcf0d07af04e7933088469d4508c72da6e Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sun, 4 Feb 2024 09:57:17 +1100 Subject: [PATCH] SPIGOT-7577: Make CraftWindCharge#explode discard the entity By: Doc --- .../main/java/org/bukkit/craftbukkit/entity/CraftWindCharge.java | 1 + 1 file changed, 1 insertion(+) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftWindCharge.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftWindCharge.java index a7fe996cda..c878b831cd 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftWindCharge.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftWindCharge.java @@ -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