From baa87bc23b434d18ffd3dde41f7c405a69282403 Mon Sep 17 00:00:00 2001 From: jomo Date: Sat, 31 Jan 2015 18:03:33 +0100 Subject: [PATCH] remove unused argument --- modules/helpers.js | 4 ++-- modules/networking.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/helpers.js b/modules/helpers.js index 08b8f6b..b627ce6 100644 --- a/modules/helpers.js +++ b/modules/helpers.js @@ -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 { diff --git a/modules/networking.js b/modules/networking.js index c2970eb..154ed0b 100644 --- a/modules/networking.js +++ b/modules/networking.js @@ -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) {