clientloader: don't fallback to Jagex hostnames when using fallback config

This commit is contained in:
Adam
2020-03-25 13:19:25 -04:00
parent 544414a8cf
commit f6da67cd2d

View File

@@ -390,7 +390,8 @@ public class ClientLoader implements Supplier<Applet>
{
log.warn("Failed to download gamepack from \"{}\"", url, e);
if (attempt >= NUM_ATTEMPTS)
// With fallback config do 1 attempt (there are no additional urls to try)
if (config.isFallback() || attempt >= NUM_ATTEMPTS)
{
throw e;
}