mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-22 07:51:17 +01:00
Fix callback
This commit is contained in:
parent
6eef94d6f5
commit
df592034f6
@ -149,7 +149,7 @@ exp.get_skin = function(uuid, callback) {
|
||||
exp.get_image_hash(uuid, function(err, status, hash) {
|
||||
if (hash) {
|
||||
var skinurl = "http://textures.minecraft.net/texture/" + hash;
|
||||
networking.get_skin(skinurl, null, function(err, img) {
|
||||
networking.get_skin(skinurl, function(err, img) {
|
||||
if (err) {
|
||||
logging.log("\nerror while downloading skin");
|
||||
callback(err, hash, null);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user