remove unused argument

This commit is contained in:
jomo 2015-01-31 18:03:33 +01:00
parent e0accc429b
commit baa87bc23b
2 changed files with 3 additions and 3 deletions

View File

@ -241,7 +241,7 @@ exp.get_skin = function(rid, uuid, callback) {
callback(err, hash, img); callback(err, hash, img);
}); });
} else { } 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); callback(err, hash, img);
}); });
} }
@ -310,7 +310,7 @@ exp.get_cape = function(rid, uuid, callback) {
callback(err, hash, img); callback(err, hash, img);
}); });
} else { } 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) { if (response && response.statusCode === 404) {
callback(err, hash, null); callback(err, hash, null);
} else { } else {

View File

@ -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) { if (hash) {
var textureurl = "http://textures.minecraft.net/texture/" + hash; var textureurl = "http://textures.minecraft.net/texture/" + hash;
exp.get_from(rid, textureurl, function(img, response, err) { exp.get_from(rid, textureurl, function(img, response, err) {