mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-18 12:30:11 -07:00
Changes
- [Input pipe] Try to fix text not working on 1.12.2 and below. - [MC version manage] Copy from inheritsFrom if could not download version.
This commit is contained in:
parent
5f12dc0dcd
commit
79c3386e2a
4 changed files with 263 additions and 258 deletions
|
|
@ -727,11 +727,9 @@ public final class Tools
|
|||
return buffer;
|
||||
}
|
||||
|
||||
public static void downloadFile(String urlInput, String nameOutput, boolean requireNonExist) throws Throwable {
|
||||
File fileDDD = new File(nameOutput);
|
||||
if(requireNonExist && !fileDDD.exists()) {
|
||||
DownloadUtils.downloadFile(urlInput, fileDDD);
|
||||
}
|
||||
public static void downloadFile(String urlInput, String nameOutput) throws Throwable {
|
||||
File file = new File(nameOutput);
|
||||
DownloadUtils.downloadFile(urlInput, file);
|
||||
}
|
||||
public static class ZipTool
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue