fix updateSkin

This commit is contained in:
NekoCaffeine 2022-01-17 00:19:32 +08:00 committed by Yuhui Huang
parent 6d617216c7
commit 6f0dfba4aa

View File

@ -125,8 +125,7 @@ public class SkinCanvas extends Group {
int multiple = Math.max((int) (1024 / skin.getWidth()), 1);
if (multiple > 1)
this.skin = SkinHelper.enlarge(this.skin, multiple, multiple);
if (this.isSlim != isSlim)
updateSkinModel(isSlim, cape != null);
updateSkinModel(isSlim, cape != null);
bindMaterial(root);
}
}