From d4ba9d7605aa5689112c2ff2d0e80b476433d52b Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sat, 22 Feb 2020 11:12:52 +0000 Subject: [PATCH 1/2] Reduce mojang profile API call limit (Fixes #4121) --- src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java b/src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java index 4bdc88c26..995a11513 100644 --- a/src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java +++ b/src/main/java/com/gmail/nossr50/util/uuid/UUIDFetcher.java @@ -15,7 +15,7 @@ import java.util.*; import java.util.concurrent.Callable; public class UUIDFetcher implements Callable> { - 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 String PROFILE_URL = "https://api.mojang.com/profiles/minecraft"; private final List names; From 705b57a30b044200ca8e86b0966c58985b4a5b85 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Mon, 24 Feb 2020 16:01:10 -0800 Subject: [PATCH 2/2] dev mode --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a0bb0cfe9..0c2f79be8 100755 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 com.gmail.nossr50.mcMMO mcMMO - 2.1.116 + 2.1.117-SNAPSHOT mcMMO https://github.com/mcMMO-Dev/mcMMO