mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 06:36:45 +01:00
Merge branch 'configurable' of github.com:mcMMO-Dev/mcmmo into api
This commit is contained in:
commit
d661a77c82
@ -15,7 +15,7 @@ import java.util.*;
|
|||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
|
|
||||||
public class UUIDFetcher implements Callable<Map<String, UUID>> {
|
public class UUIDFetcher implements Callable<Map<String, UUID>> {
|
||||||
private static final int PROFILES_PER_REQUEST = 50;
|
private static final int PROFILES_PER_REQUEST = 10;
|
||||||
private static final long RATE_LIMIT = 100L;
|
private static final long RATE_LIMIT = 100L;
|
||||||
private static final String PROFILE_URL = "https://api.mojang.com/profiles/minecraft";
|
private static final String PROFILE_URL = "https://api.mojang.com/profiles/minecraft";
|
||||||
private final List<String> names;
|
private final List<String> names;
|
||||||
|
Loading…
Reference in New Issue
Block a user