From 5ac36b91c0b39ad299416a6b8fba47647106baa3 Mon Sep 17 00:00:00 2001 From: sk89q Date: Wed, 8 Jan 2014 18:24:15 -0800 Subject: [PATCH] Fixed downloading of assets index. --- src/main/java/com/skcraft/launcher/update/GameUpdater.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/skcraft/launcher/update/GameUpdater.java b/src/main/java/com/skcraft/launcher/update/GameUpdater.java index 4d0654d..a4dc193 100644 --- a/src/main/java/com/skcraft/launcher/update/GameUpdater.java +++ b/src/main/java/com/skcraft/launcher/update/GameUpdater.java @@ -86,7 +86,7 @@ public class GameUpdater implements Runnable { .execute() .expectResponseCode(200) .returnContent() - .saveContent(assetsRoot.getIndexPath(versionManifest.getId())) + .saveContent(assetsRoot.getIndexPath(versionManifest.getAssetsIndex())) .asJson(AssetsIndex.class); for (Map.Entry entry : index.getObjects().entrySet()) {