1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-27 12:46:22 +01:00

Added back additional library path.

This commit is contained in:
sk89q 2014-01-09 02:15:40 -08:00
parent 779294e780
commit 244f57f494
2 changed files with 6 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class Manifest extends BaseManifest {
@JsonIgnore @JsonIgnore
public URL getLibrariesUrl() { public URL getLibrariesUrl() {
if (Strings.nullToEmpty(getLibrariesLocation()) == null) { if (Strings.nullToEmpty(getLibrariesLocation()) == null) {
return baseUrl; return null;
} }
try { try {

View File

@ -115,6 +115,11 @@ public class Updater extends BaseUpdater implements Callable<Instance>, Progress
progress = new DefaultProgress(-1, _("instanceUpdater.readingVersion")); progress = new DefaultProgress(-1, _("instanceUpdater.readingVersion"));
VersionManifest version = readVersionManifest(manifest); VersionManifest version = readVersionManifest(manifest);
URL url = manifest.getLibrariesUrl();
if (url != null) {
librarySources.add(url);
}
progress = new DefaultProgress(-1, _("instanceUpdater.buildingDownloadList")); progress = new DefaultProgress(-1, _("instanceUpdater.buildingDownloadList"));
// Install the .jar // Install the .jar