fix updateSkin

This commit is contained in:
NekoCaffeine authored and Yuhui Huang committed 2022-01-23 10:01:54 +08:00
1 parent 6d617216c7
commit 6f0dfba4aa
1 file changed
+1 -2
@@ -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);
}
}