From a8be40ee3f1da441862dd2bd02d09435760ad2a4 Mon Sep 17 00:00:00 2001 From: Relentless Date: Tue, 6 Sep 2022 18:00:22 +0200 Subject: [PATCH] fix DCEVM args --- Fabric/build.gradle.kts | 4 ++-- Forge/build.gradle.kts | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Fabric/build.gradle.kts b/Fabric/build.gradle.kts index 9b2202e..81ff228 100644 --- a/Fabric/build.gradle.kts +++ b/Fabric/build.gradle.kts @@ -58,14 +58,14 @@ loom { configName = "Fabric Client" ideConfigGenerated(true) runDir("run") - vmArgs("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions") + vmArgs("-XX:+IgnoreUnrecognizedVMOptions", "-XX:+AllowEnhancedClassRedefinition") } named("server") { server() configName = "Fabric Server" ideConfigGenerated(true) runDir("run") - vmArgs("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions") + vmArgs("-XX:+IgnoreUnrecognizedVMOptions", "-XX:+AllowEnhancedClassRedefinition") } } diff --git a/Forge/build.gradle.kts b/Forge/build.gradle.kts index 2146ec5..74a6838 100644 --- a/Forge/build.gradle.kts +++ b/Forge/build.gradle.kts @@ -33,7 +33,8 @@ minecraft { taskName("Client") property("mixin.env.remapRefMap", "true") property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg") - jvmArg("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions") + jvmArg("-XX:+IgnoreUnrecognizedVMOptions") + jvmArg("-XX:+AllowEnhancedClassRedefinition") mods { create(modId) { source(sourceSets.main.get()) @@ -48,7 +49,8 @@ minecraft { taskName("Server") property("mixin.env.remapRefMap", "true") property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg") - jvmArg("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions") + jvmArg("-XX:+IgnoreUnrecognizedVMOptions") + jvmArg("-XX:+AllowEnhancedClassRedefinition") mods { create(modId) { source(sourceSets.main.get())