Program: 133919
Project: 133919
Buggy source:
@EventHandler(priority=EventPriority.NORMAL,ignoreCancelled=true) public void onPlayerSwing(PlayerAnimationEvent event){
  if (event.isCancelled()) {
    return;
  }
  Player player=event.getPlayer();
  BendingPlayer bPlayer=BendingPlayer.getBendingPlayer(player);
  if (bPlayer == null) {
    return;
  }
 else   if (RIGHT_CLICK_INTERACT.contains(player.getUniqueId())) {
    return;
  }
  ComboManager.addComboAbility(player,ClickType.LEFT_CLICK);
  if (Suffocate.isBreathbent(player)) {
    event.setCancelled(true);
    return;
  }
 else   if (Bloodbending.isBloodbent(player) || Paralyze.isParalyzed(player) || ChiCombo.isParalyzed(player)) {
    event.setCancelled(true);
    return;
  }
 else   if (bPlayer.isChiBlocked()) {
    event.setCancelled(true);
    return;
  }
 else   if (GeneralMethods.isInteractable(player.getTargetBlock((Set<Material>)null,5))) {
    event.setCancelled(true);
    return;
  }
  BlockSource.update(player,ClickType.LEFT_CLICK);
  AirScooter.check(player);
  String abil=bPlayer.getBoundAbilityName();
  CoreAbility coreAbil=bPlayer.getBoundAbility();
  if (coreAbil == null && !MultiAbilityManager.hasMultiAbilityBound(player)) {
    return;
  }
 else   if (bPlayer.canBendIgnoreCooldowns(coreAbil)) {
    if (coreAbil instanceof AddonAbility) {
      return;
    }
    if (coreAbil instanceof AirAbility && bPlayer.isElementToggled(Element.AIR) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirBlast(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirSuction(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        AirBurst.coneBurst(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirScooter(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirSpout(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirSwipe(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        if (!ProjectKorra.plugin.getConfig().getBoolean("String_Node_Str") || !bPlayer.canUseFlight()) {
          return;
        }
        if (AirFlight.isFlying(event.getPlayer())) {
          if (AirFlight.isHovering(event.getPlayer())) {
            AirFlight.setHovering(event.getPlayer(),false);
          }
 else {
            AirFlight.setHovering(event.getPlayer(),true);
          }
        }
      }
    }
    if (coreAbil instanceof WaterAbility && bPlayer.isElementToggled(Element.WATER) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        Bloodbending.launch(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        IceBlast.activate(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        IceSpikeBlast.activate(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new OctopusForm(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new PhaseChangeFreeze(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new PlantArmor(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new WaterSpout(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        WaterManipulation.moveWater(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new SurgeWall(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Torrent(player);
      }
    }
    if (coreAbil instanceof EarthAbility && bPlayer.isElementToggled(Element.EARTH) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Catapult(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        EarthBlast.throwEarth(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new RaiseEarth(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Collapse(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        Shockwave.coneShockwave(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new EarthArmor(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new EarthGrab(player,true);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Tremorsense(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        MetalClips clips=CoreAbility.getAbility(player,MetalClips.class);
        if (clips == null) {
          new MetalClips(player,0);
        }
 else         if (clips.getMetalClipsCount() < (player.hasPermission("String_Node_Str") ? 4 : 3)) {
          clips.shootMetal();
        }
 else         if (MetalClips.isControllingEntity(player)) {
          clips.launch();
        }
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        LavaSurge surge=CoreAbility.getAbility(player,LavaSurge.class);
        if (surge != null) {
          surge.launch();
        }
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new LavaFlow(player,AbilityType.CLICK);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new EarthSmash(player,ClickType.LEFT_CLICK);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new SandSpout(player);
      }
    }
    if (coreAbil instanceof FireAbility && bPlayer.isElementToggled(Element.FIRE) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Blaze(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new FireBlast(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new FireJet(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new HeatControlExtinguish(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Illumination(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        FireBurst.coneBurst(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new FireShield(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new WallOfFire(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        Combustion.explode(player);
      }
    }
    if (coreAbil instanceof ChiAbility && bPlayer.isElementToggled(Element.CHI) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new HighJump(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new RapidPunch(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Smokescreen(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new WarriorStance(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AcrobatStance(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new QuickStrike(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new SwiftKick(player);
      }
    }
    if (abil.equalsIgnoreCase("String_Node_Str")) {
      new AvatarState(player);
    }
  }
  if (MultiAbilityManager.hasMultiAbilityBound(player)) {
    abil=MultiAbilityManager.getBoundMultiAbility(player);
    if (abil.equalsIgnoreCase("String_Node_Str")) {
      new WaterArms(player);
    }
  }
}

Fixed version (ground truth):
@EventHandler(priority=EventPriority.NORMAL,ignoreCancelled=true) public void onPlayerSwing(PlayerAnimationEvent event){
  if (event.isCancelled()) {
    return;
  }
  Player player=event.getPlayer();
  BendingPlayer bPlayer=BendingPlayer.getBendingPlayer(player);
  if (bPlayer == null) {
    return;
  }
 else   if (RIGHT_CLICK_INTERACT.contains(player.getUniqueId())) {
    return;
  }
  ComboManager.addComboAbility(player,ClickType.LEFT_CLICK);
  if (Suffocate.isBreathbent(player)) {
    event.setCancelled(true);
    return;
  }
 else   if (Bloodbending.isBloodbent(player) || Paralyze.isParalyzed(player) || ChiCombo.isParalyzed(player)) {
    event.setCancelled(true);
    return;
  }
 else   if (bPlayer.isChiBlocked()) {
    event.setCancelled(true);
    return;
  }
 else   if (GeneralMethods.isInteractable(player.getTargetBlock((Set<Material>)null,5))) {
    event.setCancelled(true);
    return;
  }
 else   if (player.getItemInHand().getType() == Material.FISHING_ROD) {
    return;
  }
  BlockSource.update(player,ClickType.LEFT_CLICK);
  AirScooter.check(player);
  String abil=bPlayer.getBoundAbilityName();
  CoreAbility coreAbil=bPlayer.getBoundAbility();
  if (coreAbil == null && !MultiAbilityManager.hasMultiAbilityBound(player)) {
    return;
  }
 else   if (bPlayer.canBendIgnoreCooldowns(coreAbil)) {
    if (coreAbil instanceof AddonAbility) {
      return;
    }
    if (coreAbil instanceof AirAbility && bPlayer.isElementToggled(Element.AIR) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirBlast(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirSuction(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        AirBurst.coneBurst(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirScooter(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirSpout(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AirSwipe(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        if (!ProjectKorra.plugin.getConfig().getBoolean("String_Node_Str") || !bPlayer.canUseFlight()) {
          return;
        }
        if (AirFlight.isFlying(event.getPlayer())) {
          if (AirFlight.isHovering(event.getPlayer())) {
            AirFlight.setHovering(event.getPlayer(),false);
          }
 else {
            AirFlight.setHovering(event.getPlayer(),true);
          }
        }
      }
    }
    if (coreAbil instanceof WaterAbility && bPlayer.isElementToggled(Element.WATER) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        Bloodbending.launch(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        IceBlast.activate(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        IceSpikeBlast.activate(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new OctopusForm(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new PhaseChangeFreeze(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new PlantArmor(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new WaterSpout(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        WaterManipulation.moveWater(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new SurgeWall(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Torrent(player);
      }
    }
    if (coreAbil instanceof EarthAbility && bPlayer.isElementToggled(Element.EARTH) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Catapult(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        EarthBlast.throwEarth(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new RaiseEarth(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Collapse(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        Shockwave.coneShockwave(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new EarthArmor(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new EarthGrab(player,true);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Tremorsense(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        MetalClips clips=CoreAbility.getAbility(player,MetalClips.class);
        if (clips == null) {
          new MetalClips(player,0);
        }
 else         if (clips.getMetalClipsCount() < (player.hasPermission("String_Node_Str") ? 4 : 3)) {
          clips.shootMetal();
        }
 else         if (MetalClips.isControllingEntity(player)) {
          clips.launch();
        }
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        LavaSurge surge=CoreAbility.getAbility(player,LavaSurge.class);
        if (surge != null) {
          surge.launch();
        }
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new LavaFlow(player,AbilityType.CLICK);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new EarthSmash(player,ClickType.LEFT_CLICK);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new SandSpout(player);
      }
    }
    if (coreAbil instanceof FireAbility && bPlayer.isElementToggled(Element.FIRE) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Blaze(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new FireBlast(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new FireJet(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new HeatControlExtinguish(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Illumination(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        FireBurst.coneBurst(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new FireShield(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new WallOfFire(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        Combustion.explode(player);
      }
    }
    if (coreAbil instanceof ChiAbility && bPlayer.isElementToggled(Element.CHI) == true) {
      if (GeneralMethods.isWeapon(player.getItemInHand().getType()) && !plugin.getConfig().getBoolean("String_Node_Str")) {
        return;
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new HighJump(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new RapidPunch(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new Smokescreen(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new WarriorStance(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new AcrobatStance(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new QuickStrike(player);
      }
      if (abil.equalsIgnoreCase("String_Node_Str")) {
        new SwiftKick(player);
      }
    }
    if (abil.equalsIgnoreCase("String_Node_Str")) {
      new AvatarState(player);
    }
  }
  if (MultiAbilityManager.hasMultiAbilityBound(player)) {
    abil=MultiAbilityManager.getBoundMultiAbility(player);
    if (abil.equalsIgnoreCase("String_Node_Str")) {
      new WaterArms(player);
    }
  }
}