Program: 22459
Project: 22459
Buggy source:
public static void registerSteamPower(){
  SteamcraftRegistry.addCategory("String_Node_Str");
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.boiler)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  if (Config.enableFlashBoiler) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.flashBoiler)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.pipe)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  if (Config.enableRuptureDisc) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.ruptureDisc)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableGauge) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.gauge)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.tank)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  if (Config.enableCharger) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.charger)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableHeater) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.heater)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableMortar && Config.enableAstrolabe) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.itemMortar)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addCategory("String_Node_Str");
  if (Config.enableHammer) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.hammer)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enablePump) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.pump)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableSmasher) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.smasher)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableThumper) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.thumper)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableFan) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.fan)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
    if (Config.enableVacuum) {
      SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.vacuum)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
    }
  }
}

Fixed version (ground truth):
public static void registerSteamPower(){
  SteamcraftRegistry.addCategory("String_Node_Str");
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.boiler)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  if (Config.enableFlashBoiler) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.flashBoiler)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.pipe)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  if (Config.enableRuptureDisc) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.ruptureDisc)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  if (Config.enableHorn) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.horn)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableGauge) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.gauge)),new BookPageCrafting("String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.tank)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  if (Config.enableCharger) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.charger)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableHeater) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.heater)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableMortar && Config.enableAstrolabe) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.itemMortar)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  SteamcraftRegistry.addCategory("String_Node_Str");
  if (Config.enableHammer) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.hammer)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enablePump) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.pump)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableSmasher) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.smasher)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableThumper) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.thumper)),new BookPageText("String_Node_Str","String_Node_Str"),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
  }
  if (Config.enableFan) {
    SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.fan)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
    if (Config.enableVacuum) {
      SteamcraftRegistry.addResearch("String_Node_Str","String_Node_Str",new BookPageItem("String_Node_Str","String_Node_Str",new ItemStack(SteamcraftBlocks.vacuum)),new BookPageCrafting("String_Node_Str","String_Node_Str","String_Node_Str"));
    }
  }
}