Fixed skin variant

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2023-10-26 13:33:00 +03:00
parent 263dc5af67
commit 44cdf3f697
3 changed files with 4 additions and 4 deletions

View File

@ -460,7 +460,7 @@ void SkinManageDialog::on_userBtn_clicked()
dlg.execWithTask(job.get());
SkinModel s(path);
s.setModel(mcProfile.skin.variant == "slim" ? SkinModel::SLIM : SkinModel::CLASSIC);
s.setModel(mcProfile.skin.variant == "SLIM" ? SkinModel::SLIM : SkinModel::CLASSIC);
s.setURL(mcProfile.skin.url);
if (m_capes.contains(mcProfile.currentCape)) {
s.setCapeId(mcProfile.currentCape);