Merge tag 'v0.10.21' into beta

This commit is contained in:
2025-11-28 22:23:28 +03:00
21 changed files with 503 additions and 85 deletions

View File

@@ -9,10 +9,10 @@ use crate::util::fetch::REQWEST_CLIENT;
#[tracing::instrument]
pub async fn check_reachable() -> crate::Result<()> {
let resp = REQWEST_CLIENT
.get("https://api.minecraftservices.com/entitlements/mcstore")
.get("https://sessionserver.mojang.com/session/minecraft/hasJoined")
.send()
.await?;
if resp.status() == StatusCode::UNAUTHORIZED {
if resp.status() == StatusCode::NO_CONTENT {
return Ok(());
}
resp.error_for_status()?;