safer parse

This commit is contained in:
marc barbier
2021-07-09 23:26:09 +02:00
parent b0c1519063
commit a93e180c60
@@ -130,8 +130,10 @@ final class UpdaterThread extends Thread {
}
}
else {
if (line.split("/").length >= 5) {
if (line.split("/").length >= 5 && line.contains("curseforge")) {
downloadedFile = handleCurseDownload(line);
} else {
Log.e(ME, "unrecognized line: " + line);
}
}