basic changes
This commit is contained in:
1 parent
ce5417ef2c
commit
0905b4bb5b
4 files changed
+111
-1
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user