mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 11:00:39 +02:00
add support for slim renders, fixes #125, adjust tests
This commit is contained in:
@@ -36,7 +36,7 @@ function handle_default(rid, scale, helm, body, img_status, userId, size, def, r
|
||||
// handle steve and alex
|
||||
fs.readFile(path.join(__dirname, "..", "public", "images", def + "_skin.png"), function(fs_err, buf) {
|
||||
// we render the default skins, but not custom images
|
||||
renders.draw_model(rid, buf, scale, helm, body, function(render_err, def_img) {
|
||||
renders.draw_model(rid, buf, scale, helm, body, def === "alex", function(render_err, def_img) {
|
||||
callback({
|
||||
status: img_status,
|
||||
body: def_img,
|
||||
|
||||
Reference in New Issue
Block a user