From acc9856b34654d541fd77db449263d92856ea6f5 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Tue, 25 Jun 2024 22:09:26 +0200 Subject: [PATCH] improve PlayerSelector rendering consistency --- .../client/feature/modules/experimental/PlayerSelector.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Client/src/main/java/de/com/baseband/client/feature/modules/experimental/PlayerSelector.java b/Client/src/main/java/de/com/baseband/client/feature/modules/experimental/PlayerSelector.java index 84dfdaa..581c986 100644 --- a/Client/src/main/java/de/com/baseband/client/feature/modules/experimental/PlayerSelector.java +++ b/Client/src/main/java/de/com/baseband/client/feature/modules/experimental/PlayerSelector.java @@ -102,8 +102,7 @@ public class PlayerSelector extends Feature { private void renderOptions(int x, int y) { if(Keyboard.isKeyDown(Keyboard.KEY_LEFT)) mode = Mode.LIST; - mc.fontRenderer.drawStringWithShadow(" Select with enter", x, y, 0xffffffff); - y += mc.fontRenderer.FONT_HEIGHT; + mc.fontRenderer.drawStringWithShadow(" Select with enter", x, y - mc.fontRenderer.FONT_HEIGHT, 0xffffffff); y += -Math.min(optionCursor - 5, 0) * mc.fontRenderer.FONT_HEIGHT; for (int i = Math.max(0, optionCursor - 5); i < Math.min(options.size(), optionCursor + 6); i++) {