mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-24 11:15:47 +01:00
setDisplayName bug fix
first remove then change and add again
This commit is contained in:
parent
68712ab854
commit
d900a5eae7
@ -92,8 +92,8 @@ public final class UserConnection implements ProxiedPlayer
|
||||
public void setDisplayName(String name)
|
||||
{
|
||||
Preconditions.checkArgument( name.length() <= 16, "Display name cannot be longer than 16 characters" );
|
||||
displayName=name;
|
||||
bungee.getTabListHandler().onDisconnect( this );
|
||||
displayName=name;
|
||||
bungee.getTabListHandler().onConnect( this );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user