mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 06:55:03 +00:00
remove double 'if'
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user