Skip to content

Commit

Permalink
add max length for team name
Browse files Browse the repository at this point in the history
closes #2
  • Loading branch information
MelanX committed Apr 23, 2024
1 parent 3e06ac2 commit ef86c37
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -56,6 +56,7 @@ protected void init() {
this.name = new EditBox(this.font, this.x(66), this.y(30), 120, 20, Component.empty());
this.name.setMaxLength(Short.MAX_VALUE);
this.name.setValue(this.name.getValue());
this.name.setMaxLength(64);
this.addRenderableWidget(this.name);

if (this.templates.isEmpty()) {
Expand Down

0 comments on commit ef86c37

Please sign in to comment.