Skip to content

Commit 7eabf01

Browse files
Try to fix system property
1 parent 3e27f0d commit 7eabf01

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,19 @@ unimined.minecraft {
6666
if (propertyBool('use_access_transformer')) {
6767
accessTransformer "${rootProject.projectDir}/src/main/resources/" + propertyString('access_transformer_locations')
6868
}
69-
loader "0.3.13-alpha"
69+
loader "0.3.17-alpha"
7070
runs.auth.username = minecraft_username
7171
runs.all {
7272
def extraArgs = propertyString('extra_jvm_args')
7373
if (extraArgs != null && !extraArgs.trim().isEmpty()) {
7474
jvmArgs += extraArgs.split("\\s+").toList()
7575
}
7676
if (propertyBool('enable_foundation_debug')) {
77-
var map = getSystemProperties()
78-
map.put("foundation.dump", "true")
79-
map.put("foundation.verbose", "true")
77+
systemProperty("foundation.dump", "true")
78+
systemProperty("foundation.verbose", "true")
79+
}
80+
if (propertyBool('is_coremod')) {
81+
systemProperty("fml.coreMods.load", propertyString('coremod_plugin_class_name'))
8082
}
8183
return
8284
}

0 commit comments

Comments
 (0)