Added Player.get/setListName to change the name of the player on the player list.

This commit is contained in:
sk89q
2011-09-26 15:10:35 -07:00
parent 484376bbac
commit 87494d46f8
3 changed files with 70 additions and 4 deletions

View File

@@ -57,9 +57,11 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
// CraftBukkit start
this.displayName = this.name;
this.listName = this.name;
}
public String displayName;
public String listName;
public org.bukkit.Location compassTarget;
public int newExp = 0;
// CraftBukkit end