Program: 172830
Project: 172830
Buggy source:
@Override public CommandResult execute(CommandSource source,CommandContext context) throws CommandException {
  if (source instanceof Player) {
    Player player=(Player)source;
    String playerFactionName=FactionLogic.getFactionName(player.getUniqueId());
    if (playerFactionName != null) {
      if (FactionLogic.getLeader(playerFactionName).equals(player.getUniqueId().toString()) || FactionLogic.getOfficers(playerFactionName).contains(player.getUniqueId().toString())) {
        World world=player.getWorld();
        Vector3i chunk=player.getLocation().getChunkPosition();
        if (!FactionLogic.isClaimed(world.getUniqueId(),chunk)) {
          if (FactionLogic.getFaction(playerFactionName).Power.doubleValue() >= FactionLogic.getClaims(playerFactionName).size()) {
            if (!EagleFactions.AttackedFactions.contains(playerFactionName)) {
              if (!FactionLogic.getClaims(playerFactionName).isEmpty()) {
                if (playerFactionName.equals("String_Node_Str") || playerFactionName.equals("String_Node_Str")) {
                  FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
                  player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
                  return CommandResult.success();
                }
 else {
                  if (MainLogic.requireConnectedClaims()) {
                    if (FactionLogic.isClaimConnected(playerFactionName,world.getUniqueId(),chunk)) {
                      FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
                      player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
                      return CommandResult.success();
                    }
 else {
                      source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
                    }
                  }
 else {
                    FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
                    player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
                    return CommandResult.success();
                  }
                }
              }
 else {
                FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
                player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
                return CommandResult.success();
              }
            }
 else {
              source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.RED,"String_Node_Str"));
            }
          }
 else {
            source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
          }
        }
 else {
          source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
        }
      }
 else       if (EagleFactions.AdminList.contains(player.getUniqueId().toString())) {
        World world=player.getWorld();
        Vector3i chunk=player.getLocation().getChunkPosition();
        if (!FactionLogic.isClaimed(world.getUniqueId(),chunk)) {
          FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
          player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
          return CommandResult.success();
        }
 else {
          source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
        }
      }
 else {
        source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
      }
    }
 else {
      source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
    }
  }
 else {
    source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
  }
  return CommandResult.success();
}

Fixed version (ground truth):
@Override public CommandResult execute(CommandSource source,CommandContext context) throws CommandException {
  if (source instanceof Player) {
    Player player=(Player)source;
    String playerFactionName=FactionLogic.getFactionName(player.getUniqueId());
    if (playerFactionName != null) {
      if (FactionLogic.getLeader(playerFactionName).equals(player.getUniqueId().toString()) || FactionLogic.getOfficers(playerFactionName).contains(player.getUniqueId().toString())) {
        World world=player.getWorld();
        Vector3i chunk=player.getLocation().getChunkPosition();
        if (!FactionLogic.isClaimed(world.getUniqueId(),chunk)) {
          if (FactionLogic.getFaction(playerFactionName).Power.doubleValue() > FactionLogic.getClaims(playerFactionName).size()) {
            if (!EagleFactions.AttackedFactions.contains(playerFactionName)) {
              if (!FactionLogic.getClaims(playerFactionName).isEmpty()) {
                if (playerFactionName.equals("String_Node_Str") || playerFactionName.equals("String_Node_Str")) {
                  FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
                  player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
                  return CommandResult.success();
                }
 else {
                  if (MainLogic.requireConnectedClaims()) {
                    if (FactionLogic.isClaimConnected(playerFactionName,world.getUniqueId(),chunk)) {
                      FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
                      player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
                      return CommandResult.success();
                    }
 else {
                      source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
                    }
                  }
 else {
                    FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
                    player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
                    return CommandResult.success();
                  }
                }
              }
 else {
                FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
                player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
                return CommandResult.success();
              }
            }
 else {
              source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.RED,"String_Node_Str"));
            }
          }
 else {
            source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
          }
        }
 else {
          source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
        }
      }
 else       if (EagleFactions.AdminList.contains(player.getUniqueId().toString())) {
        World world=player.getWorld();
        Vector3i chunk=player.getLocation().getChunkPosition();
        if (!FactionLogic.isClaimed(world.getUniqueId(),chunk)) {
          FactionLogic.addClaim(playerFactionName,world.getUniqueId(),chunk);
          player.sendMessage(Text.of(PluginInfo.PluginPrefix,"String_Node_Str",TextColors.GOLD,chunk.toString(),TextColors.WHITE,"String_Node_Str",TextColors.GOLD,"String_Node_Str",TextColors.WHITE,"String_Node_Str"));
          return CommandResult.success();
        }
 else {
          source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
        }
      }
 else {
        source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
      }
    }
 else {
      source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
    }
  }
 else {
    source.sendMessage(Text.of(PluginInfo.ErrorPrefix,TextColors.RED,"String_Node_Str"));
  }
  return CommandResult.success();
}