mirror of
https://github.com/azures04/crafatar.git
synced 2026-05-06 19:10:38 +02:00
Fix render defaults
This commit is contained in:
@@ -11,7 +11,7 @@ var fs = require("fs");
|
||||
// helmet is query param
|
||||
// TODO: The Type logic should be two separate GET functions once response methods are extracted
|
||||
|
||||
function handle_default(img_status, userId, size, def, req, err, callback) {
|
||||
function handle_default(rid, scale, helm, body, img_status, userId, size, def, req, err, callback) {
|
||||
def = def || skins.default_skin(userId);
|
||||
if (def !== "steve" && def !== "alex") {
|
||||
if (helpers.id_valid(def)) {
|
||||
|
||||
Reference in New Issue
Block a user