mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 15:48:26 -04:00
Update MinecraftDownloaderTask.java
This commit is contained in:
parent
d3e65576fa
commit
f5d9bd5ebb
@ -357,7 +357,7 @@ public class MinecraftDownloaderTask extends AsyncTask<String, String, Throwable
|
|||||||
DownloadUtils.downloadFile(MINECRAFT_RES + assetPath, outFile);
|
DownloadUtils.downloadFile(MINECRAFT_RES + assetPath, outFile);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void downloadAssetMapped(JAssetInfo asset, String assetName, File resDir) throws Throwable {
|
public void downloadAssetMapped(JAssetInfo asset, String assetName, File resDir) throws IOException {
|
||||||
String assetPath = asset.hash.substring(0, 2) + "/" + asset.hash;
|
String assetPath = asset.hash.substring(0, 2) + "/" + asset.hash;
|
||||||
File outFile = new File(resDir,"/"+assetName);
|
File outFile = new File(resDir,"/"+assetName);
|
||||||
if (!outFile.exists()) {
|
if (!outFile.exists()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user