Fix dev.py path

This commit is contained in:
2025-04-17 20:54:32 +02:00
parent 335649fa87
commit 5669725f9b
+3 -1
View File
@@ -36,6 +36,8 @@ class DevServer extends DefaultTask {
@Optional @Optional
String jar = null String jar = null
// Add Configs for FightServer!
DevServer() { DevServer() {
super() super()
doFirst { doFirst {
@@ -108,7 +110,7 @@ class DevServer extends DefaultTask {
} }
void startDevServer() { void startDevServer() {
def devPy = new StringBuilder().append("./dev.py") def devPy = new StringBuilder().append("dev.py")
if (port != null) devPy.append(" --port $port") if (port != null) devPy.append(" --port $port")
if (worldName != null) devPy.append(" -w $template/$worldName") if (worldName != null) devPy.append(" -w $template/$worldName")
devPy.append(" -p $template/plugins") devPy.append(" -p $template/plugins")