aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/utils
diff options
context:
space:
mode:
authornmccullagh <narhanael64@gmail.com>2024-07-07 20:36:04 +0100
committernmccullagh <narhanael64@gmail.com>2024-07-07 22:12:25 +0100
commit45579f64b14096a632df5799a9528eda810c219a (patch)
tree721290d905953873bd1a5b293fb0375429ce7108 /src/main/java/de/hysky/skyblocker/utils
parenta8f0b5815e566ed94ec0dac59795b4a353e7f1a5 (diff)
downloadSkyblocker-45579f64b14096a632df5799a9528eda810c219a.tar.gz
Skyblocker-45579f64b14096a632df5799a9528eda810c219a.tar.bz2
Skyblocker-45579f64b14096a632df5799a9528eda810c219a.zip
pet xp in tooltip
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/utils')
-rw-r--r--src/main/java/de/hysky/skyblocker/utils/ApiAuthentication.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/hysky/skyblocker/utils/ApiAuthentication.java b/src/main/java/de/hysky/skyblocker/utils/ApiAuthentication.java
index 02fdb1be..5f65c336 100644
--- a/src/main/java/de/hysky/skyblocker/utils/ApiAuthentication.java
+++ b/src/main/java/de/hysky/skyblocker/utils/ApiAuthentication.java
@@ -86,7 +86,7 @@ public class ApiAuthentication {
}
} else {
//The Minecraft Services API is probably down so we will retry in 5 minutes, either that or your access token has expired (game open for 24h) and you need to restart.
- logErrorAndScheduleRetry(Text.translatable("skyblocker.api.token.noProfileKeys"), 20, "[Skyblocker Api Auth] Failed to fetch profile keys! Some features may not work temporarily :( (Has your game been open for more than 24 hours? If so restart.)");
+ logErrorAndScheduleRetry(Text.translatable("skyblocker.api.token.noProfileKeys"), 300 * 20, "[Skyblocker Api Auth] Failed to fetch profile keys! Some features may not work temporarily :( (Has your game been open for more than 24 hours? If so restart.)");
}
}).exceptionally(throwable -> {
//Try again in 1 minute