#1335: Remove 16 char displayname limit
This commit is contained in:
parent
903ada06f0
commit
8b327708ee
@ -200,7 +200,6 @@ public final class UserConnection implements ProxiedPlayer
|
|||||||
public void setDisplayName(String name)
|
public void setDisplayName(String name)
|
||||||
{
|
{
|
||||||
Preconditions.checkNotNull( name, "displayName" );
|
Preconditions.checkNotNull( name, "displayName" );
|
||||||
Preconditions.checkArgument( name.length() <= 16, "Display name cannot be longer than 16 characters" );
|
|
||||||
displayName = name;
|
displayName = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user