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

This commit is contained in:
huanghongxun committed 2021-10-17 00:32:48 +08:00
1 parent 365ae0ef8c
commit f01c0408e1
1 file changed
+1 -1
@@ -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(