mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
capes_dir != capes_path
This commit is contained in:
parent
cb7f03b0b5
commit
6ecde79475
@ -320,7 +320,7 @@ exp.get_cape = function(rid, userId, callback) {
|
||||
callback(err, null, null);
|
||||
return;
|
||||
}
|
||||
var capepath = __dirname + "/../" + config.capes_path + cape_hash + ".png";
|
||||
var capepath = __dirname + "/../" + config.capes_dir + cape_hash + ".png";
|
||||
fs.exists(capepath, function(exists) {
|
||||
if (exists) {
|
||||
logging.log(rid + "cape already exists, not downloading");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user