Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours

This commit is contained in:
Nathan Adams 2012-01-14 17:42:57 +00:00
parent 2d1e365c43
commit 2c1cd77cdc

View File

@ -50,6 +50,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
* Sets the name that is shown on the in-game player list. * Sets the name that is shown on the in-game player list.
* <p> * <p>
* The name cannot be longer than 16 characters, but {@link ChatColor} is supported. * The name cannot be longer than 16 characters, but {@link ChatColor} is supported.
* Colors do not count towards the length limitation.
* <p> * <p>
* If the value is null, the name will be identical to {@link #getName()}. * If the value is null, the name will be identical to {@link #getName()}.
* <p> * <p>