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
String jar = null
// Add Configs for FightServer!
DevServer() {
super()
doFirst {
@@ -108,7 +110,7 @@ class DevServer extends DefaultTask {
}
void startDevServer() {
def devPy = new StringBuilder().append("./dev.py")
def devPy = new StringBuilder().append("dev.py")
if (port != null) devPy.append(" --port $port")
if (worldName != null) devPy.append(" -w $template/$worldName")
devPy.append(" -p $template/plugins")