mirror of
https://github.com/AlmostReliable/almostunified.git
synced 2024-11-23 16:18:24 -05:00
fix DCEVM args
This commit is contained in:
parent
ed3de3f623
commit
a8be40ee3f
2 changed files with 6 additions and 4 deletions
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue