mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
remove unused argument
This commit is contained in:
parent
e0accc429b
commit
baa87bc23b
@ -241,7 +241,7 @@ exp.get_skin = function(rid, uuid, callback) {
|
||||
callback(err, hash, img);
|
||||
});
|
||||
} else {
|
||||
networking.save_texture(rid, uuid, hash, skinpath, function(err, response, img) {
|
||||
networking.save_texture(rid, hash, skinpath, function(err, response, img) {
|
||||
callback(err, hash, img);
|
||||
});
|
||||
}
|
||||
@ -310,7 +310,7 @@ exp.get_cape = function(rid, uuid, callback) {
|
||||
callback(err, hash, img);
|
||||
});
|
||||
} else {
|
||||
networking.save_texture(rid, uuid, hash, capepath, function(err, response, img) {
|
||||
networking.save_texture(rid, hash, capepath, function(err, response, img) {
|
||||
if (response && response.statusCode === 404) {
|
||||
callback(err, hash, null);
|
||||
} else {
|
||||
|
||||
@ -155,7 +155,7 @@ function getUrl(rid, uuid, profile, type, callback) {
|
||||
}
|
||||
}
|
||||
|
||||
exp.save_texture = function(rid, uuid, hash, outpath, callback) {
|
||||
exp.save_texture = function(rid, hash, outpath, callback) {
|
||||
if (hash) {
|
||||
var textureurl = "http://textures.minecraft.net/texture/" + hash;
|
||||
exp.get_from(rid, textureurl, function(img, response, err) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user