style(astralrinth): show offline 1.16.4/5 launch fix notifications

This commit is contained in:
2026-06-19 22:32:14 +03:00
parent 91e1387f30
commit 916ee80fe3
3 changed files with 17 additions and 2 deletions
+2 -1
View File
@@ -721,10 +721,11 @@ pub async fn launch_minecraft(
// This code is modified by AstralRinth
if credentials.account_type == AccountType::Offline.as_lowercase_str() {
// Will be applied only on Vanilla versions
if version_jar == "1.16.4" || version_jar == "1.16.5" {
let invalid_url = "https://invalid.invalid";
let _ = emit_info(&format!(
"[AR] Detected launch of {} on the offline account. Applying 1.16.4/5 multiplayer fixes.",
"[AR] Detected launch of {} on the offline account. Applying vanilla 1.16.4/5multiplayer fixes.",
version_jar
)
).await;