Program: 22320
Project: 22320
Buggy source:
public static void registerSteamTools(){
  if (!Config.enableSteamTools) {
    return;
  }
  SteamcraftRegistry.addCategory("String_Node_Str");
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftItems.steamDrill),new ItemStack(SteamcraftItems.steamAxe),new ItemStack(SteamcraftItems.steamShovel)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  ArrayList<String> drillMatsArray=new ArrayList<>();
  for (  DrillHeadMaterial material : DrillHeadMaterial.materials.values()) {
    if (I18n.canTranslate(material.locName)) {
      drillMatsArray.add(I18n.translateToLocal(material.locName));
    }
 else {
      drillMatsArray.add(material.materialName);
    }
  }
  StringBuilder drillMats=new StringBuilder();
  String delimiter=I18n.translateToLocal("String_Node_Str");
  Iterator iter=drillMatsArray.iterator();
  while (iter.hasNext()) {
    drillMats.append(iter.next());
    if (iter.hasNext()) {
      drillMats.append(delimiter);
    }
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new Object[]{drillMats.toString()},true,new ItemStack(SteamcraftItems.drillHead)),new BookPage("String_Node_Str"));
  if (Config.enableFortune) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.fortuneUpgrade)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableBigDrill) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.bigDrill)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableBattleDrill) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.battleDrill)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enablePreciseCuttingHead) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.preciseCuttingHead)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableStoneGrinder) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.stoneGrinder)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableThermalDrill) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.thermalDrill)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableChargePlacer) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.chargePlacer)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableInternalProcessingUnit) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.internalProcessingUnit)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableForestFire) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.forestFire)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableTreeFeller) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.treeFeller)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableLeafBlower) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.leafBlower)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableChainsaw) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.chainsaw)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableBackhoe) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.backhoe)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableCultivator) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.cultivator)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableRotaryBlades) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.rotaryBlades)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableSifter) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.sifter)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableOverclocker) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.overclocker)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableAutosmelting) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.autosmelting)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableTheVoid) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SteamcraftItems.theVoid)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
}

Fixed version (ground truth):
public static void registerSteamTools(){
  if (!Config.enableSteamTools) {
    return;
  }
  SteamcraftRegistry.addCategory("String_Node_Str");
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(STEAM_DRILL.getItem()),new ItemStack(STEAM_SAW.getItem()),new ItemStack(STEAM_SHOVEL.getItem())),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  ArrayList<String> drillMatsArray=new ArrayList<>();
  for (  DrillHeadMaterial material : DrillHeadMaterial.materials.values()) {
    String loc=material.locName;
    String string=I18n.hasKey(loc) ? I18n.format(loc) : material.materialName;
    drillMatsArray.add(string);
  }
  StringBuilder drillMats=new StringBuilder();
  String delimiter=I18n.format("String_Node_Str");
  Iterator iter=drillMatsArray.iterator();
  while (iter.hasNext()) {
    drillMats.append(iter.next());
    if (iter.hasNext()) {
      drillMats.append(delimiter);
    }
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new Object[]{drillMats.toString()},true,new ItemStack(DRILL_HEAD.getItem())),new BookPage("String_Node_Str"));
  if (Config.enableFortune) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(MULTIPLICATIVE_RESONATOR.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableBigDrill) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(BIG_DRILL.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableBattleDrill) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(BATTLE_DRILL.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enablePreciseCuttingHead) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(PRECISE_CUTTING_HEAD.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableStoneGrinder) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(STONE_GRINDER.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableThermalDrill) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(THERMAL_DRILL.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableChargePlacer) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(CHARGE_PLACER.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableInternalProcessingUnit) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(INTERNAL_PROCESSING_UNIT.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableForestFire) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(FOREST_FIRE.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableTreeFeller) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(TIMBER_CHAIN.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableLeafBlower) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(LEAF_BLOWER.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableChainsaw) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(CHAINSAW.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableBackhoe) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(BACKHOE.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableCultivator) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(CULTIVATOR.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableRotaryBlades) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(ROTARY_BLADES.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableSifter) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(SIFTER.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str");
  if (Config.enableOverclocker) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(OVERCLOCKER.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableAutosmelting) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(EXOTHERMIC_PROJECTOR.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableTheVoid) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",true,new ItemStack(THE_VOID.getItem())),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
}