13
0
geforkt von Mirrors/Paper

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

By: sk89q <the.sk89q@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-09-26 15:10:35 -07:00
Ursprung b7fd3933e4
Commit 9d39647939

Datei anzeigen

@ -124,6 +124,14 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
getHandle().displayName = name;
}
public String getListName() {
return getHandle().listName;
}
public void setListName(String name) {
server.getHandle().changeListName(getHandle(), name);
}
@Override
public String toString() {
return "CraftPlayer{" + "name=" + getName() + '}';