forked from SteamWar/SteamWar
Fix BauServer Performance
This commit is contained in:
@@ -50,6 +50,14 @@ class DevServer extends DefaultTask {
|
||||
@Optional
|
||||
String checkpointFolder = null
|
||||
|
||||
@Input
|
||||
@Optional
|
||||
Boolean profile = null
|
||||
|
||||
@Input
|
||||
@Optional
|
||||
Boolean forceUpgrade = null
|
||||
|
||||
DevServer() {
|
||||
super()
|
||||
doFirst {
|
||||
@@ -157,6 +165,8 @@ class DevServer extends DefaultTask {
|
||||
if (port != null) devPy.append(" --port $port")
|
||||
if (worldName != null) devPy.append(" -w $template/$worldName")
|
||||
if (plugins != null) devPy.append(" -p $plugins")
|
||||
if (profile != null) devPy.append(" --profile")
|
||||
if (forceUpgrade != null) devPy.append(" --forceUpgrade")
|
||||
if (jar != null) devPy.append(" --jar $jar")
|
||||
for (Map.Entry<String, String> dParam : dParams.entrySet()) {
|
||||
devPy.append(" -D${dParam.key}=${dParam.value}")
|
||||
|
||||
Reference in New Issue
Block a user