diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-28 22:43:57 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-28 22:43:57 +0200 |
commit | ccb5fc6f4ab09fac602f268f36d077a42aaef1bd (patch) | |
tree | dc2eaccd696612d4d4e235903440d2d91defe099 /logic | |
parent | 1cbe543b3985c5e5b0a7a65390e0e8ea9afafade (diff) | |
download | MultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.tar MultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.tar.gz MultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.tar.lz MultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.tar.xz MultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.zip |
GH-1072 use crafatar for grabbing the user skin
Diffstat (limited to 'logic')
-rw-r--r-- | logic/minecraft/SkinUtils.h | 2 | ||||
-rw-r--r-- | logic/net/URLConstants.cpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/logic/minecraft/SkinUtils.h b/logic/minecraft/SkinUtils.h index 5584bf6c..5f5b1897 100644 --- a/logic/minecraft/SkinUtils.h +++ b/logic/minecraft/SkinUtils.h @@ -21,5 +21,5 @@ namespace SkinUtils { -QPixmap MULTIMC_LOGIC_EXPORT getFaceFromCache(QString username, int height = 64, int width = 64); +QPixmap MULTIMC_LOGIC_EXPORT getFaceFromCache(QString id, int height = 64, int width = 64); } diff --git a/logic/net/URLConstants.cpp b/logic/net/URLConstants.cpp index b6c78610..85224767 100644 --- a/logic/net/URLConstants.cpp +++ b/logic/net/URLConstants.cpp @@ -8,7 +8,8 @@ const QString AWS_DOWNLOAD_INDEXES(AWS_DOWNLOAD_BASE + "indexes/"); const QString ASSETS_BASE("assets.minecraft.net/"); const QString RESOURCE_BASE("resources.download.minecraft.net/"); const QString LIBRARY_BASE("libraries.minecraft.net/"); -const QString SKINS_BASE("skins.minecraft.net/MinecraftSkins/"); +//const QString SKINS_BASE("skins.minecraft.net/MinecraftSkins/"); +const QString SKINS_BASE("crafatar.com/skins/"); const QString AUTH_BASE("authserver.mojang.com/"); const QString FORGE_LEGACY_URL("http://files.minecraftforge.net/minecraftforge/json"); const QString @@ -20,4 +21,4 @@ const QString IMGUR_BASE_URL("https://api.imgur.com/3/"); const QString FMLLIBS_OUR_BASE_URL("http://files.multimc.org/fmllibs/"); const QString FMLLIBS_FORGE_BASE_URL("http://files.minecraftforge.net/fmllibs/"); const QString TRANSLATIONS_BASE_URL("http://files.multimc.org/translations/"); -}
\ No newline at end of file +} |