mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
Updated javadocs of Player.setPlayerListName to reflect that the char limit is based on length without colours
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
39874ebf1a
commit
72add08a6d
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ public interface Player extends HumanEntity, CommandSender, OfflinePlayer, Plugi
|
|||
* Sets the name that is shown on the in-game player list.
|
||||
* <p>
|
||||
* The name cannot be longer than 16 characters, but {@link ChatColor} is supported.
|
||||
* Colors do not count towards the length limitation.
|
||||
* <p>
|
||||
* If the value is null, the name will be identical to {@link #getName()}.
|
||||
* <p>
|
||||
|
|
Loading…
Add table
Reference in a new issue