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"
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")
}
}

View file

@ -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())