diff --git a/LauncherAPI/src/main/java/pro/gravit/launcher/request/Request.java b/LauncherAPI/src/main/java/pro/gravit/launcher/request/Request.java index b29d76b8..e5c9ec97 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/request/Request.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/request/Request.java @@ -152,6 +152,9 @@ public static RequestRestoreReport restore() throws Exception { } private synchronized static Map getExpiredExtendedTokens() { + if(extendedTokens == null) { + return new HashMap<>(); + } Set set = new HashSet<>(); for(Map.Entry e : extendedTokens.entrySet()) { if(e.getValue().expire != 0 && e.getValue().expire < System.currentTimeMillis()) {