diff --git a/src/main/java/mekanism/common/tile/machine/TileEntityDigitalMiner.java b/src/main/java/mekanism/common/tile/machine/TileEntityDigitalMiner.java index 57e6a2b0fd9..b5de08789ef 100644 --- a/src/main/java/mekanism/common/tile/machine/TileEntityDigitalMiner.java +++ b/src/main/java/mekanism/common/tile/machine/TileEntityDigitalMiner.java @@ -586,7 +586,7 @@ private boolean canMine(BlockState state, BlockPos pos) { MekFakePlayer dummy = MekFakePlayer.setupFakePlayer((ServerLevel) level, this.worldPosition.getX(), this.worldPosition.getY(), this.worldPosition.getZ()); dummy.setEmulatingUUID(getOwnerUUID());//pretend to be the owner boolean canMine = !NeoForge.EVENT_BUS.post(new BlockEvent.BreakEvent(level, pos, state, dummy)).isCanceled(); - if (MekanismAPI.debug) { + if (MekanismAPI.debug && !canMine) { Mekanism.logger.debug("Denied mining block: {} @ {} {}", state, level.dimension().location(), pos); } dummy.cleanupFakePlayer((ServerLevel) level);