Fix getDisplayName getting lost when getBukkitEntity is called

This commit is contained in:
Erik Broes committed 2011-03-13 12:52:01 +01:00
1 parent 1be1b5ab4d
commit 6043797ce0
2 files changed
+8 -4

No files matched your search

@@ -50,8 +50,14 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
this.name = s;
this.c = iteminworldmanager;
this.height = 0.0F;
// CraftBukkit start
this.displayName = this.name;
}
public String displayName;
// CraftBukkit end
public void l() {
this.activeContainer.a((ICrafting) this);
}