Server build fix / Debug hook
This commit is contained in:
@@ -37,8 +37,12 @@ task run(dependsOn: classes, type: JavaExec) {
|
||||
jvmArgs "-XstartOnFirstThread"
|
||||
}
|
||||
ignoreExitValue = true
|
||||
if (project.hasProperty("appArgs")) {
|
||||
args Eval.me(appArgs)
|
||||
if (project.hasProperty("args")) {
|
||||
args Eval.me(project.getProperties()["args"])
|
||||
}
|
||||
|
||||
if(args.contains("debug")){
|
||||
main = "io.anuke.mindustry.DebugLauncher"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user