From d847e87c6517a40834516fc1e52dcf3bd75f3fdd Mon Sep 17 00:00:00 2001 From: FatSaw Date: Sat, 9 Jul 2022 21:21:09 +0300 Subject: [PATCH] Update Explosion.java --- sources/src/main/java/net/minecraft/server/Explosion.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/src/main/java/net/minecraft/server/Explosion.java b/sources/src/main/java/net/minecraft/server/Explosion.java index 6272e43b8..6d691ae0f 100644 --- a/sources/src/main/java/net/minecraft/server/Explosion.java +++ b/sources/src/main/java/net/minecraft/server/Explosion.java @@ -281,7 +281,7 @@ public class Explosion { // Check if this ray is still strong enough to break blocks, and if so, add this position to the set // of positions to destroy float reducedStrength = strength - totalResistance; - if (reducedStrength > 0.0F && (this.explodeAirBlocks() || iblockdata.getMaterial() != Material.AIR)) { + if (reducedStrength > 0.0F && (this.a || iblockdata.getMaterial() != Material.AIR)) { if ((this.source == null || this.source.a(this, this.world, cachedPos, iblockdata, reducedStrength)) && cachedPos.getY() < 256 && cachedPos.getY() >= 0) { touched.add(cachedPos.asLong()); }