Program: 165752
Project: 165752
Buggy source:
private boolean handleSingleBlock(){
  BlockPos srcPos=scan;
  int sx=scan.getX();
  int sy=scan.getY();
  int sz=scan.getZ();
  if (!chunkLoad(sx,sz)) {
    return true;
  }
  int rfNeeded;
switch (getCardType()) {
case ShapeCardItem.CARD_PUMP:
case ShapeCardItem.CARD_PUMP_CLEAR:
    rfNeeded=(int)(BuilderConfiguration.builderRfPerQuarry * BuilderConfiguration.voidShapeCardFactor);
  break;
case ShapeCardItem.CARD_VOID:
rfNeeded=(int)(BuilderConfiguration.builderRfPerQuarry * BuilderConfiguration.voidShapeCardFactor);
break;
case ShapeCardItem.CARD_QUARRY_FORTUNE:
case ShapeCardItem.CARD_QUARRY_CLEAR_FORTUNE:
rfNeeded=(int)(BuilderConfiguration.builderRfPerQuarry * BuilderConfiguration.fortunequarryShapeCardFactor);
break;
case ShapeCardItem.CARD_QUARRY_SILK:
case ShapeCardItem.CARD_QUARRY_CLEAR_SILK:
rfNeeded=(int)(BuilderConfiguration.builderRfPerQuarry * BuilderConfiguration.silkquarryShapeCardFactor);
break;
case ShapeCardItem.CARD_QUARRY:
case ShapeCardItem.CARD_QUARRY_CLEAR:
rfNeeded=BuilderConfiguration.builderRfPerQuarry;
break;
case ShapeCardItem.CARD_SHAPE:
rfNeeded=BuilderConfiguration.builderRfPerOperation;
break;
default :
rfNeeded=0;
break;
}
Block block=null;
if (getCardType() != ShapeCardItem.CARD_SHAPE) {
BlockPos spos=new BlockPos(sx,sy,sz);
IBlockState state=worldObj.getBlockState(spos);
block=state.getBlock();
if (!isEmpty(state,block)) {
float hardness;
if (block instanceof BlockDynamicLiquid || block instanceof BlockStaticLiquid) {
hardness=1.0f;
}
 else {
if (getCachedVoidableBlocks().contains(block)) {
rfNeeded=(int)(BuilderConfiguration.builderRfPerQuarry * BuilderConfiguration.voidShapeCardFactor);
}
hardness=block.getBlockHardness(state,worldObj,spos);
}
rfNeeded*=(int)((hardness + 1) * 2);
}
}
rfNeeded=(int)(rfNeeded * (3.0f - getInfusedFactor()) / 3.0f);
if (rfNeeded > getEnergyStored(EnumFacing.DOWN)) {
return true;
}
switch (getCardType()) {
case ShapeCardItem.CARD_PUMP:
case ShapeCardItem.CARD_PUMP_CLEAR:
return pumpBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_VOID:
return voidBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_QUARRY:
case ShapeCardItem.CARD_QUARRY_CLEAR:
return quarryBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_QUARRY_FORTUNE:
case ShapeCardItem.CARD_QUARRY_CLEAR_FORTUNE:
return quarryBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_QUARRY_SILK:
case ShapeCardItem.CARD_QUARRY_CLEAR_SILK:
return silkQuarryBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_SHAPE:
return buildBlock(rfNeeded,srcPos);
}
return true;
}

Fixed version (ground truth):
private boolean handleSingleBlock(){
  BlockPos srcPos=scan;
  int sx=scan.getX();
  int sy=scan.getY();
  int sz=scan.getZ();
  if (!chunkLoad(sx,sz)) {
    return true;
  }
  int rfNeeded;
switch (getCardType()) {
case ShapeCardItem.CARD_PUMP:
case ShapeCardItem.CARD_PUMP_CLEAR:
    rfNeeded=(int)(BuilderConfiguration.builderRfPerLiquid);
  break;
case ShapeCardItem.CARD_VOID:
rfNeeded=(int)(BuilderConfiguration.builderRfPerQuarry * BuilderConfiguration.voidShapeCardFactor);
break;
case ShapeCardItem.CARD_QUARRY_FORTUNE:
case ShapeCardItem.CARD_QUARRY_CLEAR_FORTUNE:
rfNeeded=(int)(BuilderConfiguration.builderRfPerQuarry * BuilderConfiguration.fortunequarryShapeCardFactor);
break;
case ShapeCardItem.CARD_QUARRY_SILK:
case ShapeCardItem.CARD_QUARRY_CLEAR_SILK:
rfNeeded=(int)(BuilderConfiguration.builderRfPerQuarry * BuilderConfiguration.silkquarryShapeCardFactor);
break;
case ShapeCardItem.CARD_QUARRY:
case ShapeCardItem.CARD_QUARRY_CLEAR:
rfNeeded=BuilderConfiguration.builderRfPerQuarry;
break;
case ShapeCardItem.CARD_SHAPE:
rfNeeded=BuilderConfiguration.builderRfPerOperation;
break;
default :
rfNeeded=0;
break;
}
Block block=null;
if (getCardType() != ShapeCardItem.CARD_SHAPE) {
BlockPos spos=new BlockPos(sx,sy,sz);
IBlockState state=worldObj.getBlockState(spos);
block=state.getBlock();
if (!isEmpty(state,block)) {
float hardness;
if (block instanceof BlockDynamicLiquid || block instanceof BlockStaticLiquid) {
hardness=1.0f;
}
 else {
if (getCachedVoidableBlocks().contains(block)) {
rfNeeded=(int)(BuilderConfiguration.builderRfPerQuarry * BuilderConfiguration.voidShapeCardFactor);
}
hardness=block.getBlockHardness(state,worldObj,spos);
}
rfNeeded*=(int)((hardness + 1) * 2);
}
}
rfNeeded=(int)(rfNeeded * (3.0f - getInfusedFactor()) / 3.0f);
if (rfNeeded > getEnergyStored(EnumFacing.DOWN)) {
return true;
}
switch (getCardType()) {
case ShapeCardItem.CARD_PUMP:
case ShapeCardItem.CARD_PUMP_CLEAR:
return pumpBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_VOID:
return voidBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_QUARRY:
case ShapeCardItem.CARD_QUARRY_CLEAR:
return quarryBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_QUARRY_FORTUNE:
case ShapeCardItem.CARD_QUARRY_CLEAR_FORTUNE:
return quarryBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_QUARRY_SILK:
case ShapeCardItem.CARD_QUARRY_CLEAR_SILK:
return silkQuarryBlock(rfNeeded,srcPos,block);
case ShapeCardItem.CARD_SHAPE:
return buildBlock(rfNeeded,srcPos);
}
return true;
}