Update MinecraftSkinService.kt

修复获取skin失败
~~为什么少写个s~~
This commit is contained in:
502milk 2023-01-29 08:38:13 +08:00 committed by GitHub
parent 1902e922a3
commit 5977e1f265
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,11 +29,11 @@ object MinecraftSkinService {
* 获取玩家皮肤源文件
*/
fun getSkins(uuid: String)
= HttpUtil.get("https://crafatar.com/skin/$uuid")
= HttpUtil.get("https://crafatar.com/skins/$uuid")
/**
* 获取玩家皮肤源文件
*/
fun getCapes(uuid: String)
= HttpUtil.get("https://crafatar.com/capes/$uuid")
}
}