Fix #136
This commit is contained in:
parent
a46720a1ee
commit
cb0c010029
@ -64,8 +64,8 @@ public class UserConnection extends GenericConnection implements ProxiedPlayer
|
|||||||
this.pendingConnection = pendingConnection;
|
this.pendingConnection = pendingConnection;
|
||||||
this.forgeLogin = forgeLogin;
|
this.forgeLogin = forgeLogin;
|
||||||
this.loginMessages = loginMessages;
|
this.loginMessages = loginMessages;
|
||||||
name = handshake.username;
|
name = handshake.username.substring( Math.min( handshake.username.length(), 16 ) );
|
||||||
displayName = handshake.username;
|
displayName = name;
|
||||||
|
|
||||||
Collection<String> g = ProxyServer.getInstance().getConfigurationAdapter().getGroups( name );
|
Collection<String> g = ProxyServer.getInstance().getConfigurationAdapter().getGroups( name );
|
||||||
for ( String s : g )
|
for ( String s : g )
|
||||||
@ -511,7 +511,7 @@ public class UserConnection extends GenericConnection implements ProxiedPlayer
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 0xFF:
|
case 0xFF:
|
||||||
disconnect(new PacketFFKick( packet ).message );
|
disconnect( new PacketFFKick( packet ).message );
|
||||||
break outer;
|
break outer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user