basic changes

This commit is contained in:
oier committed 2024-09-15 18:51:38 +02:00
1 parent ce5417ef2c
commit 0905b4bb5b
4 files changed
+111 -1

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ type DecodedTextures struct {
// GetMinecraftProfile returns the textures of a Minecraft player from Mojang.
func GetMinecraftProfile(uuid string) (*MinecraftProfile, error) {
req, err := http.NewRequest("GET", fmt.Sprintf("https://sessionserver.mojang.com/session/minecraft/profile/%s", uuid), nil)
req, err := http.NewRequest("GET", fmt.Sprintf("https://auth.oier.ovh/api/yggdrasil/sessionserver/session/minecraft/profile/%s", uuid), nil)
if err != nil {
return nil, err