mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
remove useless get_image_hash line for renders
This commit is contained in:
parent
9affb00576
commit
e26cff3718
@ -184,7 +184,6 @@ function get_type(helm, body) {
|
|||||||
// callback contanis error, hash, image buffer
|
// callback contanis error, hash, image buffer
|
||||||
exp.get_render = function(uuid, scale, helm, body, callback) {
|
exp.get_render = function(uuid, scale, helm, body, callback) {
|
||||||
logging.log(uuid + " render request");
|
logging.log(uuid + " render request");
|
||||||
exp.get_image_hash(uuid, function(err, status, hash) {
|
|
||||||
exp.get_skin(uuid, function(err, hash, img) {
|
exp.get_skin(uuid, function(err, hash, img) {
|
||||||
if (!hash) {
|
if (!hash) {
|
||||||
callback(err, -1, hash, null);
|
callback(err, -1, hash, null);
|
||||||
@ -216,7 +215,6 @@ exp.get_render = function(uuid, scale, helm, body, callback) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = exp;
|
module.exports = exp;
|
||||||
Loading…
x
Reference in New Issue
Block a user