From 1695fd2a6e8c5efc21fc3deb4aafb5d07409b1dc Mon Sep 17 00:00:00 2001 From: SiriHack <49961233+CyriacF@users.noreply.github.com> Date: Thu, 16 Jan 2025 13:09:51 +0100 Subject: [PATCH] Update to new Mojang API --- src/main/java/net/elytrium/limboauth/Settings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/elytrium/limboauth/Settings.java b/src/main/java/net/elytrium/limboauth/Settings.java index fc2344e8..bdbb217b 100644 --- a/src/main/java/net/elytrium/limboauth/Settings.java +++ b/src/main/java/net/elytrium/limboauth/Settings.java @@ -189,7 +189,7 @@ public static class MAIN { "Or use this code to make your own API: https://blog.cloudflare.com/minecraft-api-with-workers-coffeescript/", "Or implement your own API, it should just respond with HTTP code 200 (see parameters below) only if the player is premium" }) - public String ISPREMIUM_AUTH_URL = "https://api.mojang.com/users/profiles/minecraft/%s"; + public String ISPREMIUM_AUTH_URL = "https://api.minecraftservices.com/minecraft/profile/lookup/name/%s"; @Comment({ "Status codes (see the comment above)",