fix: misused skin texture as cape texture. Closes #1106.

This commit is contained in:
huanghongxun 2021-10-17 00:27:49 +08:00
parent 365ae0ef8c
commit f01c0408e1

View File

@ -175,7 +175,7 @@ public class YggdrasilServer extends HttpServer {
}
}
if (skin != null && skin.getCape() != null) {
realTextures.put("CAPE", mapOf(pair("url", rootUrl + "/textures/" + skin.getSkin().getHash())));
realTextures.put("CAPE", mapOf(pair("url", rootUrl + "/textures/" + skin.getCape().getHash())));
}
Map<String, Object> textureResponse = mapOf(