From 9cd1d3264dbd13667f8ae58b03f9255dc684b44c Mon Sep 17 00:00:00 2001 From: conker <16803725+conker-rsc@users.noreply.github.com> Date: Sun, 24 Dec 2023 14:53:08 -0600 Subject: [PATCH] Limit player name on signup to 12 chars (#196) --- src/Game/AccountManagement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Game/AccountManagement.java b/src/Game/AccountManagement.java index f25713bf..355ce4dd 100644 --- a/src/Game/AccountManagement.java +++ b/src/Game/AccountManagement.java @@ -573,7 +573,7 @@ public static void panel_welcome_hook(int n) { Panel.addButtonBackTo(Client.panelRegister, 256, yPos + 17, 250, 34); Panel.addCenterTextTo(Client.panelRegister, 256, yPos + 8, "Choose a Username", 4, false); Client.chooseUserInput = - Panel.addInputTo(Client.panelRegister, 256, yPos + 25, 200, 40, 4, 320, false, false); + Panel.addInputTo(Client.panelRegister, 256, yPos + 25, 200, 40, 4, 12, false, false); Panel.setFocus(Client.panelRegister, Client.chooseUserInput); yPos += 40; Panel.addButtonBackTo(Client.panelRegister, 141, yPos + 17, 220, 34);