Properly proxy comparator changes on the digital miner to the bounding blocks surrounding it
@@ -747,6 +747,17 @@ public class TileEntityDigitalMiner extends TileEntityMekanism implements ISusta
return 0;
}
+ @Override
+ protected void notifyComparatorChange() {
+ super.notifyComparatorChange();
+ Direction facing = getDirection();
+ Direction left = MekanismUtils.getLeft(facing);
+ //Proxy the comparator updates to the various ports we expose comparators to
+ level.updateNeighbourForOutputSignal(worldPosition.relative(left), MekanismBlocks.ADVANCED_BOUNDING_BLOCK.getBlock());
+ level.updateNeighbourForOutputSignal(worldPosition.relative(left.getOpposite()), MekanismBlocks.ADVANCED_BOUNDING_BLOCK.getBlock());
+ level.updateNeighbourForOutputSignal(worldPosition.relative(facing.getOpposite()).above(), MekanismBlocks.ADVANCED_BOUNDING_BLOCK.getBlock());
+ }
+
@Override
public CompoundNBT getConfigurationData(PlayerEntity player) {
return getGeneralPersistentData(super.getConfigurationData(player));
