mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
Give credit where necessary
This commit is contained in:
parent
bddfb07009
commit
08e3920353
5
skins.js
5
skins.js
@ -3,6 +3,11 @@ var https = require('https');
|
|||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var imagemagick = require('imagemagick');
|
var imagemagick = require('imagemagick');
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Skin retrieval methods are based on @jomo's CLI Crafatar implementation.
|
||||||
|
* https://github.com/jomo/Crafatar
|
||||||
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
get_profile: function(uuid, callback) {
|
get_profile: function(uuid, callback) {
|
||||||
https.get("https://sessionserver.mojang.com/session/minecraft/profile/" + uuid, function(res) {
|
https.get("https://sessionserver.mojang.com/session/minecraft/profile/" + uuid, function(res) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user