Fix steamwar.devserver.gradle
This commit is contained in:
@ -64,9 +64,6 @@ class DevServer extends DefaultTask {
|
|||||||
if (worldName == null) worldName = properties.get("worldName")
|
if (worldName == null) worldName = properties.get("worldName")
|
||||||
host = properties.get("host")
|
host = properties.get("host")
|
||||||
|
|
||||||
if (worldName == null) {
|
|
||||||
throw new GradleException("Please supply the 'worldName' in a 'steamwar.properties' files either in this project dir or any parent project!")
|
|
||||||
}
|
|
||||||
if (host == null) {
|
if (host == null) {
|
||||||
throw new GradleException("Please supply the 'host' in a 'steamwar.properties' files either in this project dir or any parent project!")
|
throw new GradleException("Please supply the 'host' in a 'steamwar.properties' files either in this project dir or any parent project!")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user