We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d97fb5 commit 5a01a54Copy full SHA for 5a01a54
src/main/kotlin/gg/skytils/skytilsmod/utils/MojangUtil.kt
@@ -115,6 +115,7 @@ object MojangUtil {
115
private suspend fun makeMojangRequest(url: String): HttpResponse {
116
if (requestCount.incrementAndGet() % 6 == 0) {
117
client.get("https://api.minecraftservices.com/minecraft/profile/lookup/name/SlashSlayer?ts=${System.currentTimeMillis()}")
118
+ requestCount.getAndIncrement()
119
}
120
return client.get(url)
121
0 commit comments