diff --git a/src/main/java/pw/kaboom/extras/modules/block/BlockPhysics.java b/src/main/java/pw/kaboom/extras/modules/block/BlockPhysics.java index ff4d3ba..c3312f5 100644 --- a/src/main/java/pw/kaboom/extras/modules/block/BlockPhysics.java +++ b/src/main/java/pw/kaboom/extras/modules/block/BlockPhysics.java @@ -93,6 +93,16 @@ public final class BlockPhysics implements Listener { event.getBlock().setType(Material.AIR, false); event.setCancelled(true); } + break; + case TNT: + for (BlockFace face : blockFaces) { + if (event.getBlock().getRelative(face).getType() != Material.REDSTONE_BLOCK + && event.getBlock().getRelative(face).getType() != Material.REDSTONE_TORCH) { + return; + } + event.setCancelled(true); + } + break; default: break; }