Merge commit '175b90be5a42e5bfd3289ffdfbf7b201404f82a8' into beta

This commit is contained in:
2025-07-28 22:49:16 +03:00
47 changed files with 1186 additions and 297 deletions

View File

@@ -32,7 +32,7 @@ pub struct Profile {
pub icon_path: Option<String>,
pub game_version: String,
pub protocol_version: Option<i32>,
pub protocol_version: Option<u32>,
pub loader: ModLoader,
pub loader_version: Option<String>,
@@ -320,7 +320,7 @@ impl TryFrom<ProfileQueryResult> for Profile {
name: x.name,
icon_path: x.icon_path,
game_version: x.game_version,
protocol_version: x.protocol_version.map(|x| x as i32),
protocol_version: x.protocol_version.map(|x| x as u32),
loader: ModLoader::from_string(&x.mod_loader),
loader_version: x.mod_loader_version,
groups: serde_json::from_value(x.groups).unwrap_or_default(),