summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorfeildmaster <admin@feildmaster.com>2013-12-01 14:13:28 -0600
committerfeildmaster <admin@feildmaster.com>2013-12-01 14:15:59 -0600
commit72b36b8b07c3eb7532ba0fefa499c714997f9265 (patch)
treec7719d13b39f22e1924bc08d23f16f5ac57e58e0 /src/main
parent6aafe7c5a10d522efbbbc671aa831062f4b57e44 (diff)
downloadcraftbukkit-72b36b8b07c3eb7532ba0fefa499c714997f9265.tar
craftbukkit-72b36b8b07c3eb7532ba0fefa499c714997f9265.tar.gz
craftbukkit-72b36b8b07c3eb7532ba0fefa499c714997f9265.tar.lz
craftbukkit-72b36b8b07c3eb7532ba0fefa499c714997f9265.tar.xz
craftbukkit-72b36b8b07c3eb7532ba0fefa499c714997f9265.zip
Correctly send player names for the tab list. Fixes BUKKIT-4925
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/net/minecraft/server/PlayerList.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
index df28a593..92e5c893 100644
--- a/src/main/java/net/minecraft/server/PlayerList.java
+++ b/src/main/java/net/minecraft/server/PlayerList.java
@@ -262,7 +262,7 @@ public abstract class PlayerList {
continue;
}
// .name -> .listName
- entityplayer.playerConnection.sendPacket(new PacketPlayOutPlayerInfo(entityplayer1.getName(), true, entityplayer1.ping));
+ entityplayer.playerConnection.sendPacket(new PacketPlayOutPlayerInfo(entityplayer1.listName, true, entityplayer1.ping));
// CraftBukkit end
}
}