<BUG>this.field.width = (int) this.w();this.field.height = (int) this.h();this.field.xPosition = (int) ((this.h() - 8.0f) / 2.0f);</BUG><CONTEXT>public void onRenderBackground(int guiWidth, int guiHeight) {CraftGUI.render.texture(CraftGUITexture.Slot, this.getArea());this.renderTextField();}protected void renderTextField() {<extra_id_0>this.field.yPosition = (int) ((this.h() - 8.0f) / 2.0f);this.field.drawTextBox();</CONTEXT>
this.field.width = this.w();this.field.height = this.h();this.field.xPosition = (int) ((this.h() - 8.0f) / 2.0f);