diff --git a/Xplat/src/main/java/vazkii/botania/common/helper/EthicalTntHelper.java b/Xplat/src/main/java/vazkii/botania/common/helper/EthicalTntHelper.java index a0ce491928..8a6e9502d2 100644 --- a/Xplat/src/main/java/vazkii/botania/common/helper/EthicalTntHelper.java +++ b/Xplat/src/main/java/vazkii/botania/common/helper/EthicalTntHelper.java @@ -118,7 +118,7 @@ private static void checkUnethical(PrimedTnt entity) { final var blockEntity = entity.level().getBlockEntity(blockPos); if (blockEntity instanceof PistonMovingBlockEntity movingBlockEntity && movingBlockEntity.getMovementDirection() == dir - && movingBlockEntity.getMovedState().getBlock() instanceof TntBlock) { + && ((movingBlockEntity.getMovedState().getBlock() instanceof TntBlock) || movingBlockEntity.getMovedState().getBlock().getName().toString().contains("tnt"))) { // found a moving block that marks the destination of a TNT block moving away from the TNT entity XplatAbstractions.INSTANCE.ethicalComponent(entity).markUnethical(); break;