remove double 'if'

This commit is contained in:
Mark committed 2026-02-01 01:30:44 +03:00
1 parent a31638f05f
commit 524c014fc2
1 file changed
-2
@@ -165,8 +165,6 @@ public class ModelDataShared implements IModelData {
public float getBodyY() {
if (legParts.type == 3)
return (0.9f - modelScale.body.scaleY) * 0.75f + getLegsY();
if (legParts.type == 3)
return (0.5f - modelScale.body.scaleY) * 0.75f + getLegsY();
return (1 - modelScale.body.scaleY) * 0.75f + getLegsY();
}