Program: 86527
Project: 86527
Buggy source:
@Override public void onEnable(){
  super.onEnable();
  Config.reload();
  PluginManager pm=this.getServer().getPluginManager();
  pm.registerEvents(this.corelistener,this);
  FactionsPlusJail.server=getServer();
  Bridge.init();
  FactionsVersion=(pm.getPlugin("String_Node_Str").getDescription().getVersion());
  if (FactionsVersion.startsWith("String_Node_Str")) {
    isOnePointSix=true;
  }
 else {
    isOnePointSix=false;
  }
  FactionsPlusPlugin.info("String_Node_Str" + FactionsVersion + "String_Node_Str"+ isOnePointSix);
  FactionsPlusCommandManager.setup();
  TeleportsListener.init(this);
  RegisteredServiceProvider<Permission> permissionProvider=getServer().getServicesManager().getRegistration(net.milkbowl.vault.permission.Permission.class);
  if (permissionProvider != null) {
    permission=permissionProvider.getProvider();
  }
  if (Config.config.getBoolean(Config.str_enableEconomy)) {
    RegisteredServiceProvider<Economy> economyProvider=getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class);
    if (economyProvider != null) {
      economy=economyProvider.getProvider();
    }
  }
  if (Config.config.getBoolean(Config.str_enableAnnounce)) {
    pm.registerEvents(this.announcelistener,this);
  }
  if (Config.config.getBoolean(Config.str_enableBans)) {
    pm.registerEvents(this.banlistener,this);
  }
  if (Config.config.getBoolean(Config.str_enableJails)) {
    pm.registerEvents(this.jaillistener,this);
  }
  if (Config.config.getBoolean(Config.str_enableDisguiseIntegration) && (Config.config.getBoolean(Config.str_unDisguiseIfInOwnTerritory) || Config.config.getBoolean(Config.str_unDisguiseIfInEnemyTerritory))) {
    if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
      pm.registerEvents(this.dclistener,this);
      FactionsPlusPlugin.info("String_Node_Str");
      isDisguiseCraftEnabled=true;
      pm.registerEvents(this.disguiselistener,this);
    }
    if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
      pm.registerEvents(this.mdlistener,this);
      FactionsPlusPlugin.info("String_Node_Str");
      isMobDisguiseEnabled=true;
      pm.registerEvents(this.disguiselistener,this);
    }
 else {
      FactionsPlusPlugin.info("String_Node_Str");
    }
  }
  if (1 < 2) {
    if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
      worldEditPlugin=(WorldEditPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
      FactionsPlusPlugin.info("String_Node_Str");
      isWorldEditEnabled=true;
    }
    if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
      worldGuardPlugin=(WorldGuardPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
      FactionsPlusPlugin.info("String_Node_Str");
      isWorldGuardEnabled=true;
    }
  }
  LWCFunctions.try_integrateLWC();
  if (LWCFunctions.isLWC()) {
    if ((com.massivecraft.factions.Conf.lwcIntegration) && (com.massivecraft.factions.Conf.onCaptureResetLwcLocks)) {
      if (!Config.config.getBoolean(Config.str_removeLWCLocksOnClaim)) {
        FactionsPlusPlugin.info("String_Node_Str" + Config.str_removeLWCLocksOnClaim + "String_Node_Str");
      }
    }
  }
  if (Config.config.getBoolean(Config.str_enablePeacefulBoosts)) {
    pm.registerEvents(this.peacefullistener,this);
  }
  if (Config.config.getBoolean(Config.str_enablePowerBoosts)) {
    pm.registerEvents(this.powerboostlistener,this);
  }
  version=getDescription().getVersion();
  FactionsPlusUpdate.checkUpdates();
  FactionsPlusPlugin.info("String_Node_Str");
  try {
    if (null == metrics) {
      metrics=new Metrics(this);
      metrics.start();
    }
 else {
      metrics.enable();
    }
  }
 catch (  IOException e) {
    FactionsPlusPlugin.info("String_Node_Str");
  }
}

Fixed version (ground truth):
@Override public void onEnable(){
  super.onEnable();
  Config.reload();
  PluginManager pm=this.getServer().getPluginManager();
  pm.registerEvents(this.corelistener,this);
  FactionsPlusJail.server=getServer();
  Bridge.init();
  FactionsVersion=(pm.getPlugin("String_Node_Str").getDescription().getVersion());
  if (FactionsVersion.startsWith("String_Node_Str")) {
    isOnePointSix=true;
  }
 else {
    isOnePointSix=false;
  }
  FactionsPlusPlugin.info("String_Node_Str" + FactionsVersion + "String_Node_Str"+ isOnePointSix);
  FactionsPlusCommandManager.setup();
  TeleportsListener.init(this);
  RegisteredServiceProvider<Permission> permissionProvider=getServer().getServicesManager().getRegistration(net.milkbowl.vault.permission.Permission.class);
  if (permissionProvider != null) {
    permission=permissionProvider.getProvider();
  }
  if (Config.config.getBoolean(Config.str_enableEconomy)) {
    RegisteredServiceProvider<Economy> economyProvider=getServer().getServicesManager().getRegistration(net.milkbowl.vault.economy.Economy.class);
    if (economyProvider != null) {
      economy=economyProvider.getProvider();
    }
  }
  if (Config.config.getBoolean(Config.str_enableAnnounce)) {
    pm.registerEvents(this.announcelistener,this);
  }
  if (Config.config.getBoolean(Config.str_enableBans)) {
    pm.registerEvents(this.banlistener,this);
  }
  if (Config.config.getBoolean(Config.str_enableJails)) {
    pm.registerEvents(this.jaillistener,this);
  }
  if (Config.config.getBoolean(Config.str_enableDisguiseIntegration) && (Config.config.getBoolean(Config.str_unDisguiseIfInOwnTerritory) || Config.config.getBoolean(Config.str_unDisguiseIfInEnemyTerritory))) {
    if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
      pm.registerEvents(this.dclistener,this);
      FactionsPlusPlugin.info("String_Node_Str");
      isDisguiseCraftEnabled=true;
      pm.registerEvents(this.disguiselistener,this);
    }
    if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
      pm.registerEvents(this.mdlistener,this);
      FactionsPlusPlugin.info("String_Node_Str");
      isMobDisguiseEnabled=true;
      pm.registerEvents(this.disguiselistener,this);
    }
 else {
      FactionsPlusPlugin.info("String_Node_Str");
    }
  }
  if (1 < 2) {
    if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
      worldEditPlugin=(WorldEditPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
      FactionsPlusPlugin.info("String_Node_Str");
      isWorldEditEnabled=true;
    }
    if (getServer().getPluginManager().isPluginEnabled("String_Node_Str")) {
      worldGuardPlugin=(WorldGuardPlugin)getServer().getPluginManager().getPlugin("String_Node_Str");
      FactionsPlusPlugin.info("String_Node_Str");
      isWorldGuardEnabled=true;
    }
  }
  if (LWCBase.isLWC()) {
    LWCFunctions.hookLWC();
  }
 else {
    if (Config.config.getBoolean(Config.str_blockCPublicAccessOnNonOwnFactionTerritory) || Config.config.getBoolean(Config.str_removeLWCLocksOnClaim)) {
      FactionsPlusPlugin.warn("String_Node_Str" + "String_Node_Str");
    }
    return;
  }
  if (LWCFunctions.isLWC()) {
    if ((com.massivecraft.factions.Conf.lwcIntegration) && (com.massivecraft.factions.Conf.onCaptureResetLwcLocks)) {
      if (!Config.config.getBoolean(Config.str_removeLWCLocksOnClaim)) {
        FactionsPlusPlugin.info("String_Node_Str" + Config.str_removeLWCLocksOnClaim + "String_Node_Str");
      }
    }
  }
  if (Config.config.getBoolean(Config.str_enablePeacefulBoosts)) {
    pm.registerEvents(this.peacefullistener,this);
  }
  if (Config.config.getBoolean(Config.str_enablePowerBoosts)) {
    pm.registerEvents(this.powerboostlistener,this);
  }
  version=getDescription().getVersion();
  FactionsPlusUpdate.checkUpdates();
  FactionsPlusPlugin.info("String_Node_Str");
  try {
    if (null == metrics) {
      metrics=new Metrics(this);
      metrics.start();
    }
 else {
      metrics.enable();
    }
  }
 catch (  IOException e) {
    FactionsPlusPlugin.info("String_Node_Str");
  }
}