|
@@ -104,8 +104,12 @@ exp.resize_img = function(inname, size, callback) {
|
|
// returns "mhf_alex" or "mhf_steve" calculated by the +uuid+
|
|
// returns "mhf_alex" or "mhf_steve" calculated by the +uuid+
|
|
exp.default_skin = function(uuid) {
|
|
exp.default_skin = function(uuid) {
|
|
if (uuid.length <= 16) {
|
|
if (uuid.length <= 16) {
|
|
- // we can't get the skin type by username
|
|
|
|
- return "mhf_steve";
|
|
|
|
|
|
+ if (uuid.toLowerCase() === "mhf_alex") {
|
|
|
|
+ return uuid;
|
|
|
|
+ } else {
|
|
|
|
+ // we can't get the skin type by username
|
|
|
|
+ return "mhf_steve";
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
// great thanks to Minecrell for research into Minecraft and Java's UUID hashing!
|
|
// great thanks to Minecrell for research into Minecraft and Java's UUID hashing!
|
|
// https://git.io/xJpV
|
|
// https://git.io/xJpV
|