From 1d7f66caa5f6cad6eaf03ac90b257886faa280a6 Mon Sep 17 00:00:00 2001 From: MoriyaShiine <45156123+MoriyaShiine@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:58:42 -0500 Subject: [PATCH] cleanup --- .../java/ladysnake/blast/common/world/CustomExplosion.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/ladysnake/blast/common/world/CustomExplosion.java b/src/main/java/ladysnake/blast/common/world/CustomExplosion.java index 0aadfdf..f75305a 100644 --- a/src/main/java/ladysnake/blast/common/world/CustomExplosion.java +++ b/src/main/java/ladysnake/blast/common/world/CustomExplosion.java @@ -80,10 +80,8 @@ public void affectWorld(boolean particles) { } } boolean canDestroy = !state.isAir(); - if (effect != BlockBreakEffect.AQUATIC) { - if (!state.getFluidState().isEmpty()) { - canDestroy = false; - } + if (effect != BlockBreakEffect.AQUATIC && !state.getFluidState().isEmpty()) { + canDestroy = false; } if (canDestroy) { if (state.getBlock().shouldDropItemsOnExplosion(this) && world instanceof ServerWorld serverWorld) {