mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Fix getDisplayName getting lost when getBukkitEntity is called
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user