This commit is contained in:
md_5 2013-02-23 09:49:55 +11:00
parent a46720a1ee
commit cb0c010029

View File

@ -64,8 +64,8 @@ public class UserConnection extends GenericConnection implements ProxiedPlayer
this.pendingConnection = pendingConnection;
this.forgeLogin = forgeLogin;
this.loginMessages = loginMessages;
name = handshake.username;
displayName = handshake.username;
name = handshake.username.substring( Math.min( handshake.username.length(), 16 ) );
displayName = name;
Collection<String> g = ProxyServer.getInstance().getConfigurationAdapter().getGroups( name );
for ( String s : g )