mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 20:34:59 +00:00
Revert "Ely.by skin support implemented with room for the future"
This reverts commit a6a627ab2d.
This commit is contained in:
@@ -771,15 +771,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new MainWindow
|
||||
}
|
||||
for (auto profile : account->profiles())
|
||||
{
|
||||
auto skinsBase = BuildConfig.SKINS_BASE_MOJANG;
|
||||
auto skinsArg = profile.id;
|
||||
if (account->loginType() == "elyby")
|
||||
{
|
||||
skinsBase = BuildConfig.SKINS_BASE_ELYBY;
|
||||
skinsArg = profile.name;
|
||||
}
|
||||
auto meta = Env::getInstance().metacache()->resolveEntry("skins", profile.id + ".png");
|
||||
auto action = Net::Download::makeCached(QUrl(skinsBase + skinsArg + ".png"), meta);
|
||||
auto action = Net::Download::makeCached(QUrl(BuildConfig.SKINS_BASE + profile.id + ".png"), meta);
|
||||
skin_dls.append(action);
|
||||
meta->setStale(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user