From 672b06727dcb2dd4546d051eea86893f40df086f Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sun, 13 Mar 2011 13:29:52 +0100 Subject: Also transfer the displayName when dying --- src/main/java/net/minecraft/server/ServerConfigurationManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/net/minecraft') 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) { -- cgit v1.2.3