From d900a5eae74c43cb613b298cf7fb11e0268cbe74 Mon Sep 17 00:00:00 2001 From: weaondara Date: Tue, 2 Apr 2013 12:18:43 +0300 Subject: [PATCH] setDisplayName bug fix first remove then change and add again --- proxy/src/main/java/net/md_5/bungee/UserConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/net/md_5/bungee/UserConnection.java b/proxy/src/main/java/net/md_5/bungee/UserConnection.java index 070cb761..68e31b76 100644 --- a/proxy/src/main/java/net/md_5/bungee/UserConnection.java +++ b/proxy/src/main/java/net/md_5/bungee/UserConnection.java @@ -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 ); }