Also transfer the displayName when dying

This commit is contained in:
Erik Broes 2011-03-13 13:29:52 +01:00
parent 6043797ce0
commit 672b06727d

View file

@ -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) {