Fix build script mixxing property

This commit is contained in:
Johann Bernhardt committed 2021-11-20 00:21:25 +01:00
1 parent 04faca6300
commit c0d301736f
1 file changed
+1 -1
+1 -1
View File
@@ -133,7 +133,7 @@ if(coreModClass) {
String targetFileJava = javaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + coreModClass.toString().replaceAll("\\.", "/") + ".java"
String targetFileScala = scalaSourceDir + modGroup.toString().replaceAll("\\.", "/") + "/" + coreModClass.toString().replaceAll("\\.", "/") + ".scala"
if((new File(targetFileJava).exists() || new File(targetFileScala).exists()) == false) {
throw new GradleException("Could not resolve \"coreModClass\"! Could not find " + targetFile + " or " + targetFileScala)
throw new GradleException("Could not resolve \"coreModClass\"! Could not find " + targetFileJava + " or " + targetFileScala)
}
}