Skip to content

Commit

Permalink
Fix gui text rendering with shadow.
Browse files Browse the repository at this point in the history
  • Loading branch information
covers1624 committed Mar 2, 2024
1 parent 2473bf8 commit 45e61f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void render(GuiGraphics graphics, int p_render_1_, int p_render_2_, float
}

private void drawCentered(GuiGraphics graphics, Component s, int x, int y, int colour) {
graphics.drawString(font, s.getVisualOrderText(), x - font.width(s) / 2, y, colour);
graphics.drawString(font, s.getVisualOrderText(), x - font.width(s) / 2, y, colour, false);
}

@Override
Expand Down

0 comments on commit 45e61f7

Please sign in to comment.