fix rust lint
This commit is contained in:
parent
ca80e7d6b2
commit
7bae85eb70
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ pub async fn launch_minecraft(
|
|||
|
||||
prepare_cluster(cluster, force, search_for_java).await?;
|
||||
let global = get_global_profile().await;
|
||||
let mut settings = if let Some(name) = &cluster.setting_profile_name
|
||||
let settings = if let Some(name) = &cluster.setting_profile_name
|
||||
&& let Some(profile) = get_profile_by_name(name).await?
|
||||
{
|
||||
// Start from cluster profile so its values (e.g. mem_max) take precedence, then fill
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue