diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/render/SkinElement.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/render/SkinElement.kt index 5d90523d8..141bf1f08 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/render/SkinElement.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/render/SkinElement.kt @@ -300,7 +300,7 @@ class StretchingRectangleElement( bottom.render(stack, x + bottomLeft.w, y + height - bottom.h, width = width - bottomLeft.w - bottomRight.w) left.render(stack, x, y + topLeft.h, height = height - topLeft.h - bottomLeft.h) - right.render(stack, x + width - right.h, y + topRight.h, height = height - topRight.h - bottomRight.h) + right.render(stack, x + width - right.w, y + topRight.h, height = height - topRight.h - bottomRight.h) topLeft.render(stack, x, y) topRight.render(stack, x + width - topRight.w, y)