Max player username lenght is 10
This commit is contained in:
@@ -20,7 +20,7 @@ public class Player implements Serializable {
|
||||
/**
|
||||
* The maximum length allowed for the username string.
|
||||
*/
|
||||
private static final int MAX_USERNAME_LENGTH = 32;
|
||||
private static final int MAX_USERNAME_LENGTH = 10;
|
||||
|
||||
/**
|
||||
* Identifier for the {@code Player} when displaying the game through the GUI.
|
||||
|
||||
Reference in New Issue
Block a user