summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Broes <erikbroes@grum.nl>2011-03-13 13:29:52 +0100
committerErik Broes <erikbroes@grum.nl>2011-03-13 13:29:52 +0100
commit672b06727dcb2dd4546d051eea86893f40df086f (patch)
tree8637cc9e6709d9e0d51f415d3c16bb76ef0fa3ae
parent6043797ce0b23c9bf7f92efd31746c1cd758b2be (diff)
downloadcraftbukkit-672b06727dcb2dd4546d051eea86893f40df086f.tar
craftbukkit-672b06727dcb2dd4546d051eea86893f40df086f.tar.gz
craftbukkit-672b06727dcb2dd4546d051eea86893f40df086f.tar.lz
craftbukkit-672b06727dcb2dd4546d051eea86893f40df086f.tar.xz
craftbukkit-672b06727dcb2dd4546d051eea86893f40df086f.zip
Also transfer the displayName when dying
-rw-r--r--src/main/java/net/minecraft/server/ServerConfigurationManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/net/minecraft/server/ServerConfigurationManager.java b/src/main/java/net/minecraft/server/ServerConfigurationManager.java
index 15a1e554..274fa255 100644
--- a/src/main/java/net/minecraft/server/ServerConfigurationManager.java
+++ b/src/main/java/net/minecraft/server/ServerConfigurationManager.java
@@ -169,6 +169,7 @@ public class ServerConfigurationManager {
entityplayer1.id = entityplayer.id;
entityplayer1.a = entityplayer.a;
+ entityplayer1.displayName = entityplayer.displayName; // CraftBukkit
((WorldServer) entityplayer.world).u.d((int) entityplayer1.locX >> 4, (int) entityplayer1.locZ >> 4);
while (entityplayer.world.a(entityplayer1, entityplayer1.boundingBox).size() != 0) {