mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-06-28 12:08:09 +03:00
[FIX] Fix download assets
This commit is contained in:
parent
ab1fa64f7a
commit
d2a8bc2c35
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ public class AssetsDirHelper {
|
|||
|
||||
public static List<Downloader.SizedFile> makeToDownloadFiles(AssetInfo assetInfo, HashedDir updatesDir) {
|
||||
List<Downloader.SizedFile> toDownload = new ArrayList<>(128);
|
||||
for (var e : assetInfo.assets.entrySet()) {
|
||||
for (var e : assetInfo.assets.getAsJsonObject("objects").entrySet()) {
|
||||
var value = e.getValue().getAsJsonObject();
|
||||
var hash = value.get("hash").getAsString();
|
||||
hash = hash.substring(0, 2) + "/" + hash;
|
||||
|
|
Loading…
Reference in a new issue