mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07: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:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user