Use StringTextComponent.EMPTY

This commit is contained in:
Sebastian Hartte
2020-07-28 20:24:07 +02:00
parent 2b9c997191
commit 3802eace7a
6 changed files with 9 additions and 9 deletions
@@ -56,7 +56,7 @@ public class AETextField extends TextFieldWidget {
final int height) {
super(fontRenderer, xPos + PADDING, yPos + PADDING,
width - 2 * PADDING - (int) fontRenderer.getStringWidth("_"), height - 2 * PADDING,
new StringTextComponent(""));
StringTextComponent.EMPTY);
this._fontPad = (int) fontRenderer.getStringWidth("_");
}