forked from SteamWar/SteamWar
Fix dev.py path
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user