Skip to content

Commit

Permalink
Fixed wind charges incorrectly logging false #explosion data (fixes #555
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Intelli committed Jun 18, 2024
1 parent 057a635 commit 3e8083b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ public final class EntityExplodeListener extends Queue implements Listener {
@EventHandler(priority = EventPriority.MONITOR)
protected void onEntityExplode(EntityExplodeEvent event) {
Entity entity = event.getEntity();
if (entity.getType().name().equals("WIND_CHARGE")) {
return;
}

World world = event.getLocation().getWorld();
String user = "#explosion";

Expand Down

0 comments on commit 3e8083b

Please sign in to comment.