From a1d9268d00bb0aad45c6c3d4ab940e1fe0730044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Talbot?= <108630700+fetchfern@users.noreply.github.com> Date: Wed, 7 Jan 2026 20:43:47 -0500 Subject: [PATCH] Fix daedalus (#5064) * Support default-user-jvm arguments type * Use this branch's container * Allow no rules in Ruled argument variant * Run main --- packages/daedalus/src/minecraft.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/daedalus/src/minecraft.rs b/packages/daedalus/src/minecraft.rs index 45488426c..f31e08b17 100644 --- a/packages/daedalus/src/minecraft.rs +++ b/packages/daedalus/src/minecraft.rs @@ -454,6 +454,7 @@ pub enum Argument { /// An argument which is only applied if certain conditions are met Ruled { /// The rules deciding whether the argument(s) is used or not + #[serde(default)] rules: Vec, /// The container of the argument(s) that should be applied accordingly value: ArgumentValue, @@ -461,13 +462,15 @@ pub enum Argument { } #[derive(Serialize, Deserialize, Debug, Eq, PartialEq, Hash, Clone, Copy)] -#[serde(rename_all = "snake_case")] +#[serde(rename_all = "kebab-case")] /// The type of argument pub enum ArgumentType { /// The argument is passed to the game Game, /// The argument is passed to the JVM Jvm, + /// Passed to JVM as well. Includes default arguments to the GC. + DefaultUserJvm, } #[derive(Serialize, Deserialize, Debug, Eq, PartialEq, Hash)]