clientloader: don't fallback to Jagex hostnames when using fallback config
This commit is contained in:
@@ -390,7 +390,8 @@ public class ClientLoader implements Supplier<Applet>
|
|||||||
{
|
{
|
||||||
log.warn("Failed to download gamepack from \"{}\"", url, e);
|
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;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user