Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
E
Browse files Browse the repository at this point in the history
  • Loading branch information
tropicbliss committed Mar 6, 2022
1 parent 511f250 commit 10e1ca0
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 42 deletions.
100 changes: 66 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ description = "A fast and capable Minecraft name sniper"

[dependencies]
ansi_term = "0.12.1"
anyhow = "1.0.53"
anyhow = "1.0.55"
chrono = "0.4.19"
dialoguer = "0.9.0"
dialoguer = "0.10.0"
lazy_static = "1.4.0"
native-tls = "0.2.8"
regex = "1.5.4"
reqwest = { version = "0.11.9", features = ["blocking", "cookies", "json", "multipart"] }
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.78"
serde_json = "1.0.79"
structopt = "0.3.26"
tokio = { version = "1.16.1", features = ["full"] }
tokio = { version = "1.17.0", features = ["full"] }
tokio-native-tls = "0.3.0"
toml = "0.5.8"

Expand Down
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ async fn main() -> Result<()> {
)
})?;
let task = &config.mode;
if config.name_queue.is_none() || !config.name_queue.clone().unwrap().never_stop_sniping {
if config.account_entry.len() > 3 {
bail!("Unable to use more than three accounts");
}
if (config.name_queue.is_none() || !config.name_queue.clone().unwrap().never_stop_sniping)
&& config.account_entry.len() > 3
{
bail!("Unable to use more than three accounts");
}
let name_list = if let Some(name) = args.name {
vec![name]
Expand Down

0 comments on commit 10e1ca0

Please sign in to comment.