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 df3b958 commit 232af43Copy full SHA for 232af43
src/main/kotlin/com/github/subat0m1c/hatecheaters/utils/networkutils/WebUtils.kt
@@ -31,7 +31,7 @@ object WebUtils {
31
).onFailure { e -> Logger.warning("Failed to get input stream. Error: ${e.message}") }
32
33
suspend fun getUUIDbyName(name: String): Result<MojangData> =
34
- streamAndRead<MojangData>("https://api.mojang.com/users/profiles/minecraft/$name")
+ streamAndRead<MojangData>("https://api.minecraftservices.com/minecraft/profile/lookup/name/$name")
35
36
private suspend fun clientCall(request: Request): Result<InputStream> = suspendCoroutine { cont ->
37
client.newCall(request).enqueue(
0 commit comments