fix DCEVM args

This commit is contained in:
Relentless 2022-09-06 18:00:22 +02:00
parent ed3de3f623
commit a8be40ee3f
No known key found for this signature in database
GPG key ID: 759D97B8C6F25265
2 changed files with 6 additions and 4 deletions

View file

@ -58,14 +58,14 @@ loom {
configName = "Fabric Client" configName = "Fabric Client"
ideConfigGenerated(true) ideConfigGenerated(true)
runDir("run") runDir("run")
vmArgs("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions") vmArgs("-XX:+IgnoreUnrecognizedVMOptions", "-XX:+AllowEnhancedClassRedefinition")
} }
named("server") { named("server") {
server() server()
configName = "Fabric Server" configName = "Fabric Server"
ideConfigGenerated(true) ideConfigGenerated(true)
runDir("run") runDir("run")
vmArgs("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions") vmArgs("-XX:+IgnoreUnrecognizedVMOptions", "-XX:+AllowEnhancedClassRedefinition")
} }
} }

View file

@ -33,7 +33,8 @@ minecraft {
taskName("Client") taskName("Client")
property("mixin.env.remapRefMap", "true") property("mixin.env.remapRefMap", "true")
property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg") property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg")
jvmArg("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions") jvmArg("-XX:+IgnoreUnrecognizedVMOptions")
jvmArg("-XX:+AllowEnhancedClassRedefinition")
mods { mods {
create(modId) { create(modId) {
source(sourceSets.main.get()) source(sourceSets.main.get())
@ -48,7 +49,8 @@ minecraft {
taskName("Server") taskName("Server")
property("mixin.env.remapRefMap", "true") property("mixin.env.remapRefMap", "true")
property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg") property("mixin.env.refMapRemappingFile", "${projectDir}/build/createSrgToMcp/output.srg")
jvmArg("-XX:+AllowEnhancedClassRedefinition -XX:+IgnoreUnrecognizedVMOptions") jvmArg("-XX:+IgnoreUnrecognizedVMOptions")
jvmArg("-XX:+AllowEnhancedClassRedefinition")
mods { mods {
create(modId) { create(modId) {
source(sourceSets.main.get()) source(sourceSets.main.get())