safer parse
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user