diff --git a/packages/daedalus/src/minecraft.rs b/packages/daedalus/src/minecraft.rs index 45488426c9..f31e08b171 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)]